-
Notifications
You must be signed in to change notification settings - Fork 13
39 lines (36 loc) · 950 Bytes
/
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
35
36
37
38
39
name: windows
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [windows-2022, windows-2019]
runs-on: ${{ matrix.os }}
steps:
- name: Install dependencies
run: |
choco install --no-progress nasm
- uses: actions/checkout@v4
with:
submodules: recursive
- name: ccache
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}-${{ matrix.os }}
variant: sccache
- name: Build tests
timeout-minutes: 80
env:
CB_CACHE_OPTION: sccache
# CB_CMAKE_BUILD_TYPE: Release
CB_CMAKE_BUILD_TYPE: RelWithDebInfo
CB_NUMBER_OF_JOBS: 2
run: ruby ./bin/build-tests.rb