Skip to content

Commit

Permalink
Use CL instead of GCC for Windows CI builds and enable x86 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mqudsi committed Feb 23, 2021
1 parent 9f33bee commit 571ddba
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,41 @@ jobs:
windows:
runs-on: windows-latest
env:
CC: CL.exe
CXX: CL.exe

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: BSFishy/[email protected]
- 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 571ddba

Please sign in to comment.