Skip to content

Commit

Permalink
fix macos makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed Sep 24, 2024
1 parent c2dcb74 commit fbae825
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/macos_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
strategy:
matrix:
os:
- macos-latest
- macos-10.15
- macos-13
- macos-14
continue-on-error: true
runs-on: '${{ matrix.os }}'
steps:
Expand All @@ -32,6 +32,8 @@ jobs:
- name: Install Cargo Make
uses: davidB/rust-cargo-make@v1
- name: Install Dependencies
run: cargo make install_deps
run: |
# cargo make install_deps # doesn't work
brew install casacore/tap/casacore mwatelescope/tap/aoflagger
- run: cargo make test --no-default-features
- run: cargo make test
6 changes: 6 additions & 0 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,14 @@ dependencies = ["install_cfitsio"]
[tasks.linux_install_deps]
dependencies = ["linux_install_aoflagger"]

[tasks.mac_install_deps]
script = """
brew install casacore/tap/casacore mwatelescope/tap/aoflagger
"""

[tasks.install_deps]
linux_alias = "linux_install_deps"
mac_alias = "mac_install_deps"

[tasks.linux_check_deps]
script = """
Expand Down

0 comments on commit fbae825

Please sign in to comment.