Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zjeffer committed May 6, 2024
1 parent 189a8d4 commit 1c23bb9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build

on:
workflow_call:
outputs:
build_dir:
value: "build"
description: "The build directory"

jobs:
setup:
runs-on: ubuntu-latest
container:
image: alexays/waybar:debian
steps:
- uses: actions/checkout@v3
- name: configure
run: |
meson setup -Dcpp_std=c++20 build
ninja -C build
2 changes: 1 addition & 1 deletion .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
apt update && apt install -y cppcheck
- name: cppcheck
run: |
cppcheck --enable=all --inconclusive --force --inline-suppr --quiet --xml-version=2 --xml --project=build/compile_commands.json 2>&1 | tee cppcheck.xml
cppcheck --enable=all --inconclusive --force --inline-suppr --quiet -i build/protocol/ --project=build/compile_commands.json 2>&1 | tee cppcheck.xml
- name: Upload cppcheck results
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 1c23bb9

Please sign in to comment.