Skip to content

Commit

Permalink
Merge pull request #15 from neosmart/windows-ci
Browse files Browse the repository at this point in the history
Add Windows CI coverage to GitHub actions, including both native x64 and x86 builds.
  • Loading branch information
mqudsi authored Feb 23, 2021
2 parents 8592823 + 571ddba commit 4861ce9
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4861ce9

Please sign in to comment.