51 lines
1.0 KiB
YAML
51 lines
1.0 KiB
YAML
name: ci
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '**'
|
|
- '!.gitignore'
|
|
- '!LICENSE'
|
|
- '!TODO'
|
|
- '!doc/**'
|
|
- '!examples/**'
|
|
- '.github/workflows/ci.yml'
|
|
push:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
linux:
|
|
name: Linux (Ubuntu)
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: gitea.pockle.world/john/prosperon/linux:latest
|
|
|
|
steps:
|
|
- name: Check out
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Test
|
|
run: |
|
|
meson setup build -Dbuildtype=release -Db_lto=true -Db_ndebug=true
|
|
meson test -C build
|
|
|
|
windows:
|
|
name: Windows (mingw)
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: gitea.pockle.world/john/prosperon/linux:latest
|
|
|
|
steps:
|
|
- name: Check out
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Test
|
|
run: |
|
|
meson setup build -Dbuildtype=release -Db_lto=true -Db_ndebug=true --cross-file mingw32.cross
|
|
meson test -C build
|