From 05b7a6f98e671d045aca85e42107bcde17929432 Mon Sep 17 00:00:00 2001 From: NUCLEAR-BOMB <61628949+NUCLEAR-BOMB@users.noreply.github.com> Date: Thu, 2 Nov 2023 20:44:50 +0500 Subject: [PATCH] Add generators for github actions --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ddc16ac..7288201 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,13 +8,17 @@ jobs: strategy: fail-fast: false matrix: - os: [ ubuntu-latest ] + os: [ ubuntu-latest, windows-2022 ] + generator: [ "Unix Makefiles", "Visual Studio 17 2022" ] + exclude: + - os: ubuntu-latest + generator: "Visual Studio 17 2022" steps: - name: Checkout uses: actions/checkout@v3 - name: Configure CMake - run: cmake -B build -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang + run: cmake -B build -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -G "${{ matrix.generator }}" - name: Build run: cmake --build build