summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2022-10-10 18:53:41 -0700
committerMark Adler <fork@madler.net>2022-10-11 20:21:50 -0700
commitaefaf43b28da2fb7ebcd01db3613c29f030c6e65 (patch)
tree5a50e9fb4ebda48c79f98267b2eb6475f4c6d708 /.github
parentd4fb7dd805c964844d45befed65e3ae086d20166 (diff)
downloadzlib-aefaf43b28da2fb7ebcd01db3613c29f030c6e65.tar.gz
CI: Add instance for GCC on Windows.
Diffstat (limited to '.github')
-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: