-
Notifications
You must be signed in to change notification settings - Fork 7
43 lines (41 loc) · 1.3 KB
/
c-cpp.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
name: C/C++ CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hendrikmuhs/[email protected]
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages:
build-essential
libglu1-mesa-dev
uuid-dev
libgtk-3-dev
libasound2-dev
libopenal-dev
libpulse-dev
mesa-vulkan-drivers
clang
lld
gdb
version: 1.0
- name: Install 3rdp dependencies
run: ./bin/linux/releasestatic/Traktor.Run.App ./scripts/misc/update-3rdp.run
- name: Generate build files
run: ./scripts/build-projects-make-linux.sh
- name: Build DebugShared
run: ./scripts/autobuild/autobuild-latest-linux.sh DebugShared
- name: Build ReleaseShared
run: ./scripts/autobuild/autobuild-latest-linux.sh ReleaseShared
- name: Build ReleaseStatic
run: ./scripts/autobuild/autobuild-latest-linux.sh ReleaseStatic
- name: Unit tests DebugShared
run: ./bin/latest/linux/debugshared/Traktor.Run.App ./scripts/unittest/UnitTest.run
- name: Unit tests ReleaseShared
run: ./bin/latest/linux/releaseshared/Traktor.Run.App ./scripts/unittest/UnitTest.run