Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
barne856 committed Jul 9, 2024
1 parent d758107 commit e66181f
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,32 @@ jobs:

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest --output-on-failure
run: ctest --output-on-failure

build-and-test-windows:
name: Build and Test (Windows)
runs-on: windows-latest
strategy:
matrix:
clang_version: [15, 16, 17, 18]

steps:
- uses: actions/checkout@v4

- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: ${{ matrix.clang_version }}

- name: Configure CMake
env:
CXX: clang++
run: |
cmake -B ${{github.workspace}}/build -DSQUINT_BUILD_TESTS=ON -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libc++" -T ClangCL
- name: Build
run: cmake --build ${{github.workspace}}/build --config Release

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C Release --output-on-failure

0 comments on commit e66181f

Please sign in to comment.