packages: add Fedora 41, drop Fedora 38 #498
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: Build check | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
types: [assigned, edited, opened, synchronize, reopened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: ${{ matrix.container }} | |
strategy: | |
fail-fast: false | |
matrix: | |
container: | |
- 'alpine:3.19' | |
- 'alpine:3.20' | |
- 'debian:11' | |
- 'debian:12' | |
- 'fedora:40' | |
- 'fedora:41' | |
- 'gentoo/stage3:latest' | |
- 'ubuntu:22.04' | |
- 'ubuntu:24.04' | |
steps: | |
- uses: actions/checkout@v2 | |
- id: install_deps | |
run: | | |
case "${{ matrix.container }}" in | |
alpine*) | |
apk update | |
apk add autoconf automake bzip2 curl-dev file gcc libtool linux-headers make m4 musl-dev tar xz | |
;; | |
debian*|ubuntu*) | |
export DEBIAN_FRONTEND=noninteractive | |
apt-get update -q | |
apt-get install -q -y --no-install-recommends autoconf automake bzip2 gcc libcurl4-gnutls-dev libsystemd-dev libtool m4 make pkg-config xz-utils | |
;; | |
gentoo*) | |
: | |
;; | |
fedora*) | |
dnf -y update | |
dnf -y install autoconf automake bzip2 diffutils gcc glibc-devel libcurl-devel libtool make m4 systemd-devel xz | |
;; | |
esac | |
- id: configure | |
run: | | |
autoreconf --install | |
./configure --enable-libcurl --enable-debug | |
- id: make | |
run: | | |
make | |
make check | |
make distcheck |