-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
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.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
eli-schwartz
Author
Contributor
|
||
- 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: | ||
|
Why is this dependency needed ?