Skip to content

Commit

Permalink
Add generators for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
NUCLEAR-BOMB committed Nov 2, 2023
1 parent 8db05e5 commit 05b7a6f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05b7a6f

Please sign in to comment.