Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: C/C++ CI
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cancel-in-progress: true

on:
push:
branches: [ master ]
branches: [ main ]
paths:
- 'meson.build'
- 'compat/**'
Expand All @@ -11,7 +14,7 @@ on:
- '.github/workflows/**'

pull_request:
branches: [ master ]
branches: [ main ]
paths:
- 'meson.build'
- 'compat/**'
Expand All @@ -31,11 +34,11 @@ jobs:
run: |
sudo dnf install -y gcc gcc-c++ flex bison meson ninja-build make libedit-devel libcurl-devel libxo-devel openssl-devel

- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: build and check
run: |
meson setup build -Db_buildtype=debug
meson setup build --buildtype=debug
ninja -C build -v
meson test -C build -v

Expand Down Expand Up @@ -79,10 +82,10 @@ jobs:
make
make install

- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: build and check
run: |
meson setup build --werror -Db_buildtype=debug -Drpmatch_path=/usr/local/lib
meson setup build --werror --buildtype=debug -Drpmatch_path=/usr/local/lib
ninja -C build -v
meson test -C build -v
Loading