Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cozycactus committed Sep 15, 2023
1 parent c775909 commit 288768f
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,44 @@ jobs:
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}



windows-build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- { icon: '⬛', sys: mingw32 }
- { icon: '🟦', sys: mingw64 }
- { icon: '🟨', sys: ucrt64 }
- { icon: '🟧', sys: clang64 }
name: 🚧${{ matrix.icon }} ${{ matrix.sys }}
defaults:
run:
shell: msys2 {0}
steps:

- name: '🧰 Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: '${{ matrix.icon }} Setup MSYS2'
uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
update: true
install: >-
git
make
pacboy: >-
toolchain:p
cmake:p
ninja:p
- name: '🚧 Build TOOL'
run: |
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build

0 comments on commit 288768f

Please sign in to comment.