strategy:
fail-fast: false
matrix:
- os: [ubuntu-latest, macos-latest]
+ os: [ubuntu-latest, macos-latest, windows-latest]
name: Compile and Run Tests
steps:
environment-file: .github/environment.yml
- name: Compile zchunk
shell: bash -l {0}
+ if: runner.os != 'Windows'
run: |
meson builddir
cd builddir
ninja
- name: Run zchunk tests
shell: bash -l {0}
+ if: runner.os != 'Windows'
run: |
cd builddir
ninja test
+ - name: Compile zchunk
+ shell: cmd /C CALL {0}
+ if: runner.os == 'Windows'
+ run: |
+ CALL micromamba activate zchunk_test_env
+ meson setup builddir
+ meson compile -C builddir
+ # TODO tests are not yet built
+ # - name: Run zchunk tests
+ # shell: cmd /C CALL {0}
+ # if: runner.os == 'Windows'
+ # run: |
+ # micromamba activate zchunk_test_env
+ # cd builddir
+ # ninja test