-
Notifications
You must be signed in to change notification settings - Fork 25
34 lines (34 loc) · 1.11 KB
/
test_windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Test Windows
on: [workflow_dispatch, workflow_call]
jobs:
test_windows:
strategy:
matrix:
build-type: [MinSizeRel]
preset: [win-x64, win-x86]
timeout-minutes: 40
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
path: nakama-cpp
- uses: ./nakama-cpp/.github/actions/setup-vcpkg
with:
github_token: ${{ secrets.github_token }}
vcpkg-path: vcpkg
- uses: ./nakama-cpp/.github/actions/build-library-and-upload
with:
nakama-cpp-path: nakama-cpp
preset: ${{ matrix.preset }}
build-type: ${{ matrix.build-type }}
- uses: ./nakama-cpp/.github/actions/build-test-and-run
with:
nakama-cpp-path: nakama-cpp
preset: ${{ matrix.preset }}
testrunner-pat: ${{ secrets.GH_PAT }}
build-type: ${{ matrix.build-type }}
- if: failure()
uses: ./nakama-cpp/.github/actions/handle-failure
with:
nakama-cpp-path: nakama-cpp
vcpkg-path: vcpkg