mirror of
https://github.com/facebook/zstd.git
synced 2025-11-25 23:43:06 +03:00
meson: add Windows CI
There are a couple of oddities here. We don't attempt to build e.g. contrib, because that doesn't seem to work at the moment. Also notice that each command is its own step. This happens because github actions runs in powershell, which doesn't seem to let you abort on the first failure.
This commit is contained in:
21
.github/workflows/dev-short-tests.yml
vendored
21
.github/workflows/dev-short-tests.yml
vendored
@@ -202,6 +202,27 @@ jobs:
|
||||
meson test -C builddir/ --print-errorlogs
|
||||
meson install -C builddir --destdir staging/
|
||||
|
||||
meson-windows:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install packages
|
||||
run: pip install --pre meson
|
||||
- name: Initialize the MSVC dev command prompt
|
||||
uses: ilammy/msvc-dev-cmd@674ff850cbd739c402260838fa45b7114f750570
|
||||
- name: Configure with Meson
|
||||
run: |
|
||||
meson setup build/meson/ builddir/ -Dbin_tests=true
|
||||
- name: Build with Meson
|
||||
run: |
|
||||
ninja -C builddir/
|
||||
- name: Test with Meson
|
||||
run: |
|
||||
meson test -C builddir/ --print-errorlogs
|
||||
- name: Install with Meson
|
||||
run: |
|
||||
meson install -C builddir --destdir staging/
|
||||
|
||||
cmake-visual-2019:
|
||||
runs-on: windows-2019
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user