Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
matrix:
runs-on: [windows-latest]
sys:
- {compiler: default}
- {compiler: default, os: windows-latest}
- {compiler: default, os: windows-2019}
- {compiler: clang-cl, os: windows-latest}
# Enable again and fix remaining issues after refactoring
#- {compiler: clang}

Expand All @@ -29,11 +31,12 @@ jobs:
if: matrix.sys.compiler == 'default'
uses: ilammy/msvc-dev-cmd@v1

- name: Setup clang
if: matrix.sys.compiler == 'clang'
- name: Setup clang-cl
if: matrix.sys.compiler == 'clang-cl'
run: |
echo "CC=clang" >> $GITHUB_ENV
echo "CXX=clang++" >> $GITHUB_ENV
echo "CC=clang-cl" >> $GITHUB_ENV
echo "CXX=clang-cl" >> $GITHUB_ENV
echo "clang-cl --version"

- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -49,7 +52,7 @@ jobs:
ninja

- name: Configure using CMake
run: cmake -Bbuild -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DBUILD_TESTS=ON -G Ninja
run: cmake -Bbuild -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_CXX_FLAGS=/std:c++20 -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DBUILD_TESTS=ON -G Ninja

- name: Install
working-directory: build
Expand Down
Loading