summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/cmake.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 35f7377..64aa12c 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -43,6 +43,11 @@ jobs:
compiler: cl
cmake-args: -A x64
+ - name: Windows GCC
+ os: windows-latest
+ compiler: gcc
+ cmake-args: -G Ninja
+
- name: macOS Clang
os: macos-latest
compiler: clang
@@ -55,6 +60,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
+ - name: Install packages (Windows)
+ if: runner.os == 'Windows'
+ run: |
+ choco install --no-progress ninja ${{ matrix.packages }}
+
- name: Generate project files
run: cmake -S ${{ matrix.src-dir || '.' }} -B ${{ matrix.build-dir || '.' }} ${{ matrix.cmake-args }} -D CMAKE_BUILD_TYPE=${{ matrix.build-config || 'Release' }}
env: