From aefaf43b28da2fb7ebcd01db3613c29f030c6e65 Mon Sep 17 00:00:00 2001 From: Nathan Moinvaziri Date: Mon, 10 Oct 2022 18:53:41 -0700 Subject: CI: Add instance for GCC on Windows. --- .github/workflows/cmake.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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: -- cgit v1.2.1