-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from neosmart/windows-ci
Add Windows CI coverage to GitHub actions, including both native x64 and x86 builds.
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,3 +58,44 @@ jobs: | |
- name: ninja test | ||
run: | | ||
meson test -C build | ||
windows: | ||
runs-on: windows-latest | ||
env: | ||
CC: CL.exe | ||
CXX: CL.exe | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: install python | ||
uses: actions/setup-python@v1 | ||
|
||
- name: use msvc x64 toolchain | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
arch: x64 | ||
|
||
- name: build and test (msvc x64) | ||
uses: BSFishy/[email protected] | ||
with: | ||
action: test | ||
directory: build | ||
# options: --verbose | ||
meson-version: 0.57.1 | ||
ninja-version: 1.10.0.post2 | ||
|
||
- name: use msvc x86 toolchain | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
arch: x86 | ||
|
||
- name: build and test (msvc x86) | ||
uses: BSFishy/[email protected] | ||
with: | ||
action: test | ||
directory: build_x86 | ||
meson-version: 0.57.1 | ||
ninja-version: 1.10.0.post2 | ||
|