Skip to content

fixup! ci: Use a container and expand versions #11

fixup! ci: Use a container and expand versions

fixup! ci: Use a container and expand versions #11

Workflow file for this run

name: Build and Test
on:
push:
branches: [master, ci-test]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
container: ['ubuntu:22.04', 'ubuntu:24.04']
container:
image: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-ubuntu
- name: configure
run: |
mkdir build
cd build
../autogen.sh c
- name: build
run: |
cd build
make -j$(nproc)
- name: test
run: |
cd build
make -j$(nproc) check
- name: install
run: |
cd build
DESTDIR=$PWD/inst make install
- name: distcheck
run: |
cd build
make distcheck