You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.1 KiB
65 lines
1.1 KiB
--- |
|
name: Build test |
|
'on': |
|
push: |
|
branches: |
|
- main |
|
pull_request: |
|
branches: |
|
- main |
|
|
|
jobs: |
|
build-make: |
|
runs-on: ubuntu-latest |
|
|
|
strategy: |
|
fail-fast: false |
|
matrix: |
|
os: [ "alpine", "archlinux", "fedora", "ubuntu" ] |
|
|
|
container: |
|
image: ${{ matrix.os }} |
|
|
|
steps: |
|
- name: Checkout |
|
uses: actions/checkout@v3 |
|
|
|
- name: Install Dependencies |
|
run: | |
|
./scripts/install-deps.sh |
|
|
|
- name: Build |
|
run: | |
|
make |
|
|
|
- name: Run check |
|
run: | |
|
make check |
|
|
|
build-meson: |
|
runs-on: ubuntu-latest |
|
|
|
strategy: |
|
fail-fast: false |
|
matrix: |
|
os: [ "alpine", "archlinux", "fedora", "ubuntu" ] |
|
|
|
container: |
|
image: ${{ matrix.os }} |
|
|
|
steps: |
|
- name: Checkout |
|
uses: actions/checkout@v3 |
|
|
|
- name: Install Dependencies |
|
run: | |
|
./scripts/install-deps.sh |
|
|
|
- name: Setup |
|
run: meson setup build |
|
|
|
- name: Build |
|
run: meson compile -C build |
|
|
|
- name: Run check |
|
run: meson test -C build
|
|
|