--- /dev/null
+name: 'setup Debian'
+description: 'Setup a Debian container for running CI'
+runs:
+ using: 'composite'
+ steps:
+ - name: Install dependencies
+ shell: bash
+ run: |
+ apt-get update
+ apt-get install --yes \
+ build-essential \
+ autoconf \
+ automake \
+ gtk-doc-tools \
+ libssl-dev \
+ liblzma-dev \
+ libssl-dev \
+ libtool \
+ libzstd-dev \
+ scdoc \
+ zlib1g-dev \
+ zstd
+ # not used by default in Debian since it builds with --disable-test-modules
+ # developers should have it though
+ # apt-get install linux-headers-generic
test: 'yes'
- container: 'alpine:latest'
test: 'no'
+ - container: 'debian:unstable'
+ test: 'yes'
+ configure: '--disable-test-modules'
container:
image: ${{ matrix.container }}
if: ${{ startsWith(matrix.container, 'fedora') }}
- uses: ./.github/actions/setup-alpine
if: ${{ startsWith(matrix.container, 'alpine') }}
+ - uses: ./.github/actions/setup-debian
+ if: ${{ startsWith(matrix.container, 'debian') }}
- name: configure
run: |
mkdir build
cd build
- ../autogen.sh c
+ ../autogen.sh c ${{ matrix.configure }}
- name: build
run: |
if: ${{ matrix.test == 'yes' }}
run: |
cd build
- make KDIR=/usr/lib/modules/*/build distcheck
+ DISTCHECK_CONFIGURE_FLAGS=${{ matrix.configure }} make KDIR=/usr/lib/modules/*/build distcheck