| 1 |
name: "Continuous Integration" |
| 2 |
|
| 3 |
on: |
| 4 |
pull_request: |
| 5 |
push: |
| 6 |
branches-ignore: ["pr/**"] |
| 7 |
tags: ["**"] |
| 8 |
workflow_dispatch: |
| 9 |
|
| 10 |
defaults: |
| 11 |
run: |
| 12 |
shell: "bash" |
| 13 |
|
| 14 |
jobs: |
| 15 |
ci-linux: |
| 16 |
name: Linux CI |
| 17 |
uses: bus1/cabuild/.github/workflows/ci-c-util.yml@v1 |
| 18 |
with: |
| 19 |
cabuild_ref: "v1" |
| 20 |
linux: true |
| 21 |
m32: true |
| 22 |
matrixmode: true |
| 23 |
valgrind: true |
| 24 |
|
| 25 |
ci-linux-ptrace: |
| 26 |
name: Linux CI with PTrace |
| 27 |
uses: bus1/cabuild/.github/workflows/ci-c-util.yml@v1 |
| 28 |
with: |
| 29 |
cabuild_ref: "v1" |
| 30 |
linux: true |
| 31 |
mesonargs: '-Dptrace=true' |
| 32 |
|
| 33 |
ci-macos: |
| 34 |
name: MacOS CI |
| 35 |
uses: bus1/cabuild/.github/workflows/ci-c-util.yml@v1 |
| 36 |
with: |
| 37 |
cabuild_ref: "v1" |
| 38 |
linux: false |
| 39 |
macos: true |
| 40 |
|
| 41 |
ci-docs: |
| 42 |
name: Documentation CI |
| 43 |
uses: bus1/cabuild/.github/workflows/ci-sphinx.yml@v1 |
| 44 |
with: |
| 45 |
meson: true |
| 46 |
source: "./src/docs" |