File tree 1 file changed +49
-0
lines changed
1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : OSX
2
+ on :
3
+ workflow_dispatch :
4
+ pull_request :
5
+ push :
6
+ branches : [master]
7
+ concurrency :
8
+ group : ${{ github.workflow }}-${{ github.job }}-${{ github.ref }}
9
+ cancel-in-progress : true
10
+ defaults :
11
+ run :
12
+ shell : bash -e -l {0}
13
+ jobs :
14
+ build :
15
+ runs-on : macos-${{ matrix.os }}
16
+ name : macos-${{ matrix.os }} - mkl
17
+ strategy :
18
+ fail-fast : false
19
+ matrix :
20
+ os :
21
+ - 11
22
+ - 12
23
+
24
+ steps :
25
+
26
+ - name : Checkout code
27
+ uses : actions/checkout@v3
28
+
29
+ - name : Set conda environment
30
+ uses : mamba-org/setup-micromamba@main
31
+ with :
32
+ environment-name : myenv
33
+ environment-file : environment-dev.yml
34
+ init-shell : bash
35
+ cache-downloads : true
36
+
37
+ - name : Install mkl
38
+ run : micromamba install mkl
39
+
40
+ - name : Configure using CMake
41
+ run : cmake -Bbuild -DDOWNLOAD_GTEST=ON -DCMAKE_PREFIX_PATH=$CONDA_PREFIX -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_SYSTEM_IGNORE_PATH=/usr/lib
42
+
43
+ - name : Build
44
+ working-directory : build
45
+ run : cmake --build . --target test_xtensor_blas --parallel 8
46
+
47
+ - name : Run tests
48
+ working-directory : build/test
49
+ run : ./test_xtensor_blas
You can’t perform that action at this time.
0 commit comments