Skip to content

Commit

Permalink
GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
davidebeatrici committed Aug 30, 2024
1 parent 1e0780a commit 5a70cf5
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
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}}

0 comments on commit 5a70cf5

Please sign in to comment.