FMC Pico support #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and run tests for every commit | |
on: | |
pull_request: | |
jobs: | |
build-and-test-every-commit: | |
runs-on: ubuntu-latest | |
container: | |
image: alpine:edge | |
steps: | |
- name: Install dependencies | |
run: apk add git meson gcc g++ musl-dev boost-dev | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- name: Configure git user | |
run: git config --global user.email "[email protected]" && git config --global user.name "Me" | |
- name: Configure git safe directory | |
run: git config --global --add safe.directory /__w/uhal/uhal | |
- name: Configure | |
run: meson setup --buildtype release --werror build || cat build/meson-logs/meson-log.txt /nonexistent | |
- name: Build and test every commit | |
run: git rebase --exec "ninja -C build test" origin/master | |
- name: Commit blame | |
if: ${{ failure() }} | |
run: git --no-pager log -n1 |