-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 956 Bytes
/
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
name: normal-build
on:
push:
jobs:
windows-debug:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure
run: cmake -S . -B build -DAW_ENABLE_GRAPHICS:BOOL=OFF
- name: Build
run: cmake --build build
- name: Test
run: ctest --test-dir build -C Debug --output-on-failure
ubuntu-debug:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure
run: cmake -S . -B build -DCMAKE_INSTALL_PREFIX=install -DAW_ENABLE_GRAPHICS:BOOL=OFF -DAW_ENABLE_ASSERT:BOOL=OFF
- name: Build
run: cmake --build build
- name: Test
run: ctest --test-dir build --output-on-failure
- name: Install
run: cmake --install build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: bin-ubuntu
path: install/*