@@ -13,7 +13,7 @@ defaults:
1313 shell : bash -l -eo pipefail {0}
1414
1515jobs :
16- test :
16+ test-unix :
1717 strategy :
1818 matrix :
1919 os : [ubuntu-latest, macos-latest]
@@ -27,11 +27,11 @@ jobs:
2727 environment-name : xeus-octave
2828 cache-downloads : true
2929 - name : Configure
30- run : cmake --preset conda-debug
30+ run : cmake --preset conda-debug-unix
3131 - name : Build
32- run : cmake --build --preset conda-debug
32+ run : cmake --build --preset conda-debug-unix
3333 - name : Install
34- run : cmake --install build/cmake/conda-debug
34+ run : cmake --install build/cmake/conda-debug-unix
3535 - name : Test
3636 run : python -m pytest ./test -k 'not plot'
3737 - name : Plotly toolkit test
4242 sudo apt-get update && sudo apt-get install libgl1-mesa-dev xvfb
4343 xvfb-run python -m pytest ./test -k 'plot_notebook'
4444
45+ test-win :
46+ runs-on : ${{ matrix.os }}
47+ strategy :
48+ matrix :
49+ os : [ windows-latest]
50+ steps :
51+ - uses : actions/checkout@v3
52+ - name : Install mamba
53+ uses : mamba-org/provision-with-micromamba@v13
54+ with :
55+ environment-file : environment-dev.yml
56+ environment-name : xeus-octave
57+ cache-downloads : true
58+ - name : micromamba shell hook
59+ shell : powershell
60+ run : micromamba shell hook -s cmd.exe -p C:\Users\runneradmin\micromamba
61+ - name : Configure
62+ shell : cmd
63+ run : |
64+ call C:\Users\runneradmin\micromamba\condabin\micromamba.bat activate xeus-octave
65+ cmake --preset conda-debug-win
66+ - name : Build
67+ shell : cmd
68+ run : |
69+ call C:\Users\runneradmin\micromamba\condabin\micromamba.bat activate xeus-octave
70+ cmake --build --preset conda-debug-win
71+ - name : Install
72+ shell : cmd
73+ run : |
74+ call C:\Users\runneradmin\micromamba\condabin\micromamba.bat activate xeus-octave
75+ cmake --install build\cmake\conda-debug-win
76+ - name : Test
77+ shell : cmd
78+ run : |
79+ call C:\Users\runneradmin\micromamba\condabin\micromamba.bat activate xeus-octave
80+ pytest test
81+
4582 static-analysis :
4683 runs-on : " ubuntu-latest"
4784 steps :
0 commit comments