mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
add basic build workflow
This commit is contained in:
parent
6490092a86
commit
ca8039143f
33
.github/workflows/build.yml
vendored
Normal file
33
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
name: 'build'
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
BUILD_TYPE: Release
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install APT dependencies
|
||||
run: sudo apt install libfuse3-dev libwebsockets-dev libgtest-dev libgmock-dev ninja-build valgrind python3 python3-pip python3-setuptools python3-wheel
|
||||
|
||||
- name: Install meson
|
||||
run: sudo pip3 install meson
|
||||
|
||||
- name: Configure Meson
|
||||
run: meson .build
|
||||
|
||||
- name: Build
|
||||
run: meson compile -C .build
|
||||
|
||||
- name: Test
|
||||
run: meson test -C .build
|
Loading…
Reference in New Issue
Block a user