Skip to content

GitHub Actions

GitHub Actions #7

Workflow file for this run

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
libfuse-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