Skip to content

Commit

Permalink
GH-43 Use new windows-test build
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Dec 30, 2023
1 parent 856d3fa commit ca20f32
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/windows-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Windows Test
on:
pull_request:

jobs:
build:
runs-on: windows-latest
name: Windows
steps:
- name: Checkout project
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install CMake
uses: actions/setup-cmake@v1
with:
cmake-version: '3.21'

- name: Install Ninja
run: choco install ninja

- name: ccache
uses: hendrikmuhs/[email protected]
with:
key: ccache-windows-test

- 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 --build ${{ github.workspace }}/.out-windows-test --target orchestrator -j 18
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}
retention-days: 1
path: |
${{ github.workspace }}/project/

0 comments on commit ca20f32

Please sign in to comment.