Skip to content

Commit aefaf43

Browse files
nmoinvazMark Adler
authored andcommitted
CI: Add instance for GCC on Windows.
1 parent d4fb7dd commit aefaf43

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ jobs:
4343
compiler: cl
4444
cmake-args: -A x64
4545

46+
- name: Windows GCC
47+
os: windows-latest
48+
compiler: gcc
49+
cmake-args: -G Ninja
50+
4651
- name: macOS Clang
4752
os: macos-latest
4853
compiler: clang
@@ -55,6 +60,11 @@ jobs:
5560
- name: Checkout repository
5661
uses: actions/checkout@v3
5762

63+
- name: Install packages (Windows)
64+
if: runner.os == 'Windows'
65+
run: |
66+
choco install --no-progress ninja ${{ matrix.packages }}
67+
5868
- name: Generate project files
5969
run: cmake -S ${{ matrix.src-dir || '.' }} -B ${{ matrix.build-dir || '.' }} ${{ matrix.cmake-args }} -D CMAKE_BUILD_TYPE=${{ matrix.build-config || 'Release' }}
6070
env:

0 commit comments

Comments
 (0)