]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
ci: build on old distro
authorThomas Weißschuh <thomas@t-8ch.de>
Wed, 31 May 2023 06:09:39 +0000 (08:09 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Wed, 31 May 2023 16:14:28 +0000 (18:14 +0200)
This should help to catch build breaks

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
.github/workflows/cibuild.yml

index 236083d5b13eee143f6b684828f3dbc2efc5b507..2a6d02c5c2b7350fe3b0d5ea7f8a299ffeda1d0a 100644 (file)
@@ -103,6 +103,31 @@ jobs:
         run: .github/workflows/cibuild.sh CONFIGURE
       - name: Make distcheck
         run: .github/workflows/cibuild.sh DISTCHECK
+  build-compat:
+    strategy:
+      fail-fast: false
+      matrix:
+        include:
+          - image: ubuntu:18.04
+    name: build (compat, ${{ matrix.image }})
+    runs-on: ubuntu-latest
+    env:
+      COMPILER: none
+    container:
+      image: ${{ matrix.image }}
+    steps:
+      - name: Repository checkout
+        uses: actions/checkout@v1
+      - name: Ubuntu setup
+        run: .github/workflows/cibuild-setup-ubuntu.sh
+      - name: Configure
+        run: .github/workflows/cibuild.sh CONFIGURE
+      - name: Code checks
+        run: .github/workflows/cibuild.sh CODECHECK
+      - name: Configure & Make
+        run: .github/workflows/cibuild.sh MAKE
+      - name: Check
+        run: .github/workflows/cibuild.sh CHECK
   build-arch:
     name: build (qemu-user, ${{ matrix.arch }})
     runs-on: ubuntu-latest