Skip to content

Commit

Permalink
use windows-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Jan 10, 2024
1 parent a680d3a commit a9b2bc1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-20.04", "MacOS-11", "Windows-2022"]
os: ["ubuntu-20.04", "MacOS-11", "Windows-latest"]
python-version: ["3.10"]
dot-net-version: [ "7.0.100" ]
defaults:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-20.04", "macOS-11", "windows-2022" ]
os: [ "ubuntu-20.04", "macOS-11", "windows-latest" ]
python-version: ["3.10"]
dot-net-version: [ "7.0.100" ]
env:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
uses: microsoft/[email protected]

- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build
run: cmake -E make_directory "${{runner.workspace}}/build"

- name: Configure & Build CMake
working-directory: ${{runner.workspace}}/build
Expand All @@ -70,11 +70,11 @@ jobs:
python setup.py build
python setup.py install
- name: Run C++ unit tests
- name: Run C++ unit tests [Unix]
if: runner.os != 'Windows'
working-directory: ${{runner.workspace}}/build
run: ./unit_tests --out test.log -s --use-colour yes
- name: Run C++ unit tests
- name: Run C++ unit tests [Windows]
if: runner.os == 'Windows'
working-directory: ${{runner.workspace}}/build/Release
run: |
Expand Down

0 comments on commit a9b2bc1

Please sign in to comment.