Skip to content

Commit

Permalink
Add ArchLinux build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kicer86 committed Mar 16, 2024
1 parent 137df61 commit 6596d8a
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/archlinux-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

name: Build on ArchLinux

on:
push:
branches:
- master
pull_request:

jobs:
build:
runs-on: ubuntu-latest
container:
image: archlinux:latest
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: ${{ github.job }}-${{ matrix.compiler.compiler }}

- name: Build
uses: ashutoshvarma/action-cmake-build@master
with:
build-dir: ${{ runner.workspace }}/build
configure-options:
-DCMAKE_C_COMPILER_LAUNCHER=ccache
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
-Wdev -Werror=dev
run-test: true
ctest-options:
--output-on-failure
--repeat until-fail:5
env:
TSAN_OPTIONS=suppressions: ${{ runner.workspace }}/photobroom/sanitizer-thread-suppressions.txt

0 comments on commit 6596d8a

Please sign in to comment.