-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (47 loc) · 1.22 KB
/
build.yaml
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
47
48
49
name: normal-build
on:
push:
jobs:
windows-x86:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure
run: >
cmake -S . -B build -A Win32
-DAW_ENABLE_GRAPHICS:BOOL=OFF
-DAW_ENABLE_HUDF:BOOL=ON
- name: Build
run: cmake --build build
- name: Test
run: ctest --test-dir build -C Debug --output-on-failure
windows-x64:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure
run: >
cmake -S . -B build -A x64
-DAW_ENABLE_GRAPHICS:BOOL=OFF
-DAW_ENABLE_HUDF:BOOL=ON
- name: Build
run: cmake --build build
- name: Test
run: ctest --test-dir build -C Debug --output-on-failure
ubuntu:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure
run: >
cmake -S . -B build
-DAW_ENABLE_GRAPHICS:BOOL=OFF
-DAW_ENABLE_ASSERT:BOOL=OFF
-DAW_ENABLE_HUDF:BOOL=ON
- name: Build
run: cmake --build build
- name: Test
run: ctest --test-dir build --output-on-failure