Skip to content

Commit

Permalink
GH-43 Use windows-2019 instead of latest and MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Dec 30, 2023
1 parent 60f6eb7 commit 68b568e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/windows-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
build:
runs-on: windows-latest
runs-on: windows-2019
name: Windows
steps:
- name: Checkout project
Expand All @@ -28,9 +28,12 @@ jobs:
with:
key: ccache-windows-test

- name: Add msbuild to PATH
uses: microsoft/[email protected]

- name: Build Orchestrator (Windows)
run: |
cmake -B ${{ github.workspace }}/.out-windows-test -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -S ${{ github.workspace }} -G Ninja
cmake -B ${{ github.workspace }}/.out-windows-test -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl -S ${{ github.workspace }} -G Ninja
cmake --build ${{ github.workspace }}/.out-windows-test --target orchestrator -j 18
- name: Upload artifact
Expand Down

0 comments on commit 68b568e

Please sign in to comment.