Skip to content

Commit

Permalink
workflows: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
tomba committed Sep 28, 2024
1 parent a0e255a commit 01cefce
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ on:
push:
branches: [ "master", "test" ]
pull_request:
branches: [ "master", "test" ]
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: install deps
run: sudo apt install -y meson ninja-build libfmt-dev

- name: configure
run: meson setup -Dwerror=true -Db_lto=true build

- name: build
run: ninja -v -C build

- name: Test rwmem command
run: |
python3 -m unittest -v discover tests

0 comments on commit 01cefce

Please sign in to comment.