-
Notifications
You must be signed in to change notification settings - Fork 5
46 lines (37 loc) · 1.17 KB
/
ci-msw.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
40
41
42
43
44
45
46
name: github-ci-msw
on: [push]
jobs:
build:
# https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
runs-on: windows-latest
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install boost
uses: MarkusJx/[email protected]
id: install-boost
with:
# REQUIRED: Specify the required boost version
# A list of supported versions can be found here:
# https://github.com/actions/boost-versions/blob/main/versions-manifest.json
boost_version: 1.83.0
- name: Add msbuild
uses: microsoft/setup-msbuild@v2
- name: Configure
shell: pwsh
run: |
.\build-gen.ps1 -boost_dir ${{steps.install-boost.outputs.BOOST_ROOT}} -tests -prepare
- name: Build
working-directory: build
run: |
msbuild /noLogo /m /p:Configuration=Release ALL_BUILD.vcxproj
- name: Run tests
uses: threeal/[email protected]
with:
build-config: Release
tests-regex: or
verbose: true