-
Notifications
You must be signed in to change notification settings - Fork 3
65 lines (60 loc) · 1.81 KB
/
config.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Build project
on: [push]
jobs:
build-mac:
runs-on: macos-14
steps:
- uses: actions/checkout@v1
- name: "build mac"
run: |
brew install glfw svg2png
git submodule update --init --recursive
mkdir build
cd build
bash -c 'cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=ON ..'
make
bash ../.github/workflows/macos/create_app_bundle.sh
- name: Upload macos
uses: actions/upload-artifact@v4
with:
name: Farbart macos
path: build/Farbart.tar.gz
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: "build linux"
run: |
sudo apt-get update
sudo apt-get install -y libglfw3-dev libsdl2-dev gcc-multilib g++-multilib libfreetype6-dev libvulkan-dev
git submodule update --init --recursive
mkdir build
cd build
bash -c 'cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=ON ..'
make
- name: Upload linux
uses: actions/upload-artifact@v4
with:
name: Farbart linux x64-86
path: build/symmetri/gui/Farbart
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: "tests with ASAN"
run: |
sudo apt-get update
sudo apt-get install -y libglfw3-dev libsdl2-dev gcc-multilib g++-multilib libfreetype6-dev libvulkan-dev
git submodule update --init --recursive
mkdir build
cd build
bash -c 'cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -DASAN_BUILD=ON -DTSAN_BUILD=OFF ..'
make
ctest -VV
- name: "tests with TSAN"
run: |
cd build
make clean
bash -c 'cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -DASAN_BUILD=OFF -DTSAN_BUILD=ON ..'
make
ctest -VV