File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed
Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ # Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md
2+ name : MacOS Tests
3+ on :
4+ push :
5+ tags-ignore :
6+ - ' **'
7+ branches :
8+ - ' **'
9+ pull_request : null
10+ jobs :
11+ test :
12+ name : MacOS Tests
13+ strategy :
14+ matrix :
15+ os :
16+ - macos-13
17+ - macos-14
18+ continue-on-error : true
19+ runs-on : ' ${{ matrix.os }}'
20+ steps :
21+ - name : Checkout sources
22+ uses : actions/checkout@v2
23+ with :
24+ fetch-depth : 0
25+ - name : Install stable toolchain
26+ uses : actions-rs/toolchain@v1
27+ with :
28+ profile : minimal
29+ toolchain : stable
30+ override : true
31+ components : ' rustfmt, clippy'
32+ - name : Install Cargo Make
33+ uses : davidB/rust-cargo-make@v1
34+ - name : Install Dependencies
35+ run : |
36+ # cargo make install_deps # doesn't work
37+ brew install casacore/tap/casacore mwatelescope/tap/aoflagger
38+ - name : Run tests
39+ run : |
40+ cargo make test_no_default
41+ cargo make test_no_flag
42+ cargo make test
43+ env :
44+ DYLD_FALLBACK_LIBRARY_PATH : /opt/homebrew/lib/
45+ AOFLAGGER_LIB : /opt/homebrew/lib/
46+ AOFLAGGER_INCLUDE_DIR : /opt/homebrew/include/
Original file line number Diff line number Diff line change @@ -122,8 +122,14 @@ dependencies = ["install_cfitsio"]
122122[tasks .linux_install_deps ]
123123dependencies = [" linux_install_aoflagger" ]
124124
125+ [tasks .mac_install_deps ]
126+ script = """
127+ brew install casacore/tap/casacore mwatelescope/tap/aoflagger
128+ """
129+
125130[tasks .install_deps ]
126131linux_alias = " linux_install_deps"
132+ mac_alias = " mac_install_deps"
127133
128134[tasks .linux_check_deps ]
129135script = """
You can’t perform that action at this time.
0 commit comments