diff options
| -rw-r--r-- | .github/workflows/cmake.yml | 10 |
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: | |||
| 43 | compiler: cl | 43 | compiler: cl |
| 44 | cmake-args: -A x64 | 44 | cmake-args: -A x64 |
| 45 | 45 | ||
| 46 | - name: Windows GCC | ||
| 47 | os: windows-latest | ||
| 48 | compiler: gcc | ||
| 49 | cmake-args: -G Ninja | ||
| 50 | |||
| 46 | - name: macOS Clang | 51 | - name: macOS Clang |
| 47 | os: macos-latest | 52 | os: macos-latest |
| 48 | compiler: clang | 53 | compiler: clang |
| @@ -55,6 +60,11 @@ jobs: | |||
| 55 | - name: Checkout repository | 60 | - name: Checkout repository |
| 56 | uses: actions/checkout@v3 | 61 | uses: actions/checkout@v3 |
| 57 | 62 | ||
| 63 | - name: Install packages (Windows) | ||
| 64 | if: runner.os == 'Windows' | ||
| 65 | run: | | ||
| 66 | choco install --no-progress ninja ${{ matrix.packages }} | ||
| 67 | |||
| 58 | - name: Generate project files | 68 | - name: Generate project files |
| 59 | run: cmake -S ${{ matrix.src-dir || '.' }} -B ${{ matrix.build-dir || '.' }} ${{ matrix.cmake-args }} -D CMAKE_BUILD_TYPE=${{ matrix.build-config || 'Release' }} | 69 | run: cmake -S ${{ matrix.src-dir || '.' }} -B ${{ matrix.build-dir || '.' }} ${{ matrix.cmake-args }} -D CMAKE_BUILD_TYPE=${{ matrix.build-config || 'Release' }} |
| 60 | env: | 70 | env: |
