-
Notifications
You must be signed in to change notification settings - Fork 11
41 lines (36 loc) · 1 KB
/
build.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
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
include:
- name: 'Ubuntu (Clang)'
os: ubuntu-latest
cCompiler: 'clang'
cppCompiler: 'clang++'
- name: 'Ubuntu (GCC)'
os: ubuntu-latest
cCompiler: 'gcc'
cppCompiler: 'g++'
steps:
- name: Install packages
run: sudo apt-get install -y cmake
ninja-build
libfuse3-dev
libasound-dev
libpulse-dev
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Build
uses: threeal/cmake-action@v2
with:
generator: Ninja
c-compiler: ${{matrix.cCompiler}}
cxx-compiler: ${{matrix.cppCompiler}}
options: |
alsa=ON
test=ON