Build workflow: remove old distros. #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check the Distribution | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: read | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
make_distcheck: | |
runs-on: ubuntu-latest | |
container: collectd/ci:bullseye_amd64 | |
env: | |
MAKEFLAGS: "-j$(nproc) -sk" | |
# this env var picked up by valgrind during make check phase | |
VALGRIND_OPTS: "--errors-for-leak-kinds=definite" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install bzip2 | |
run: apt install -y bzip2 | |
- name: Print available packages | |
run: pkg-config --list-all | sort | |
- name: Generate configure script | |
run: ./build.sh | |
- name: Run configure script | |
run: ./configure | |
- name: Run make distcheck | |
run: make $MAKEFLAG distcheck |