Skip to content

Commit cdaff68

Browse files
committed
run windows in CI as well
1 parent 15a6088 commit cdaff68

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- master
1212

1313
jobs:
14-
build:
14+
build_linux:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v2
@@ -28,3 +28,28 @@ jobs:
2828
run: |
2929
cd build
3030
make test
31+
32+
build_win:
33+
runs-on: windows-latest
34+
steps:
35+
- uses: actions/checkout@v2
36+
- name: Install environment from environment.yml
37+
uses: mamba-org/provision-with-micromamba@main
38+
with:
39+
extra-specs: |
40+
c-compiler
41+
ninja
42+
cmake
43+
zlib
44+
45+
- name: Build
46+
run: |
47+
mkdir build
48+
cd build
49+
cmake -GNinja ..
50+
ninja
51+
52+
- name: Test
53+
run: |
54+
cd build
55+
ninja test

0 commit comments

Comments
 (0)