1
0
mirror of https://github.com/falk-werner/webfuse synced 2026-10-13 15:10:43 +00:00
Files
falk-werner_webfuse/.github/workflows/build.yml
Falk Werner 7bc0cb955e chore(build): remove matrix build
There is only one platform to build.

Signed-off-by: Falk Werner <falk.werner@gmx.net>
2026-06-25 21:13:51 +02:00

38 lines
943 B
YAML

name: 'build'
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 17 * * 5'
jobs:
build:
runs-on: ubuntu-latest
env:
BUILD_TYPE: Release
steps:
- uses: actions/checkout@v7
- name: Install APT dependencies
run: |
sudo apt update
sudo apt install libfuse3-dev libwebsockets-dev libgtest-dev libgmock-dev clang-tidy valgrind
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Unit Test
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target test
- name: Memcheck
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target memcheck