Skip to content

Commit

Permalink
fix for the windows yml test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
JessyDL committed Jun 10, 2024
1 parent 9b54f32 commit 12de827
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ jobs:
- name: initialize
run: |
python3 tools/generate_project_info.py
cmake --preset=windows-${{ matrix.bitconfig }}-release-${{ matrix.graphics }} -DPE_BENCHMARKS=${{ matrix.benchmarks }}
# todo: DCMAKE_CXX_FLAGS here is a workaround for an issue in the CI runner, which should be rechecked in a couple of weeks or so.
# see https://github.com/actions/runner-images/issues/10004
cmake --preset=windows-${{ matrix.bitconfig }}-release-${{ matrix.graphics }} -DPE_BENCHMARKS=${{ matrix.benchmarks }} -DCMAKE_CXX_FLAGS="/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR"
python3 tools/patch.py --project ./project_files/${{ matrix.arch }}/
- name: compile
run: cmake --build --preset=windows-${{ matrix.bitconfig }}-release-${{ matrix.graphics }} -j ${{ steps.cpu-cores.outputs.count }}
Expand Down

0 comments on commit 12de827

Please sign in to comment.