File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Windows
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 : msys2 {0}
13+ jobs :
14+ build :
15+ runs-on : [windows-latest]
16+ name : Windows
17+
18+ steps :
19+ - name : Use MinGW from MSYS2
20+ uses : msys2/setup-msys2@v2
21+ with :
22+ msystem : MINGW64
23+ update : true
24+
25+ - name : Checkout code
26+ uses : actions/checkout@v3
27+
28+ - name : Set conda environment
29+ uses : mamba-org/setup-micromamba@v1
30+ with :
31+ environment-file : environment-dev.yml
32+ cache-environment : true
33+
34+ - name : Configure using CMake
35+ run : cmake -Bbuild -DXTENSOR_INSTALL_R_PACKAGES=OFF -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DDOWNLOAD_GTEST=ON $(Build.SourcesDirectory)
36+
37+ - name : Install
38+ working-directory : build
39+ run : cmake --install .
40+
41+ - name : Build
42+ working-directory : build
43+ run : cmake --build . --target test_xtensor_r --parallel 8
44+
45+ - name : Run tests (C++)
46+ working-directory : build/test
47+ run : ./test_xtensor_r
48+
You can’t perform that action at this time.
0 commit comments