jobs:
build:
runs-on: ubuntu-latest
+ concurrency:
+ group: ${{ github.workflow }}-${{ toJSON(matrix.env) }}-${{ github.ref }}
+ cancel-in-progress: true
strategy:
fail-fast: false
matrix:
run: sudo -E .github/workflows/cibuild.sh CHECK
- name: Make install
run: .github/workflows/cibuild.sh INSTALL
+
coveralls:
permissions:
contents: read # to fetch code (actions/checkout)
checks: write # to create new checks (coverallsapp/github-action)
-
runs-on: ubuntu-latest
if: github.repository == 'util-linux/util-linux'
+ concurrency:
+ group: ${{ github.workflow }}-coveralls-${{ github.ref }}
+ cancel-in-progress: true
env:
COMPILER: gcc
COMPILER_VERSION: 10
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage.info
+
meson:
needs: build
runs-on: ubuntu-latest
+ concurrency:
+ group: ${{ github.workflow }}-meson-${{ github.ref }}
+ cancel-in-progress: true
env:
COMPILER: gcc
COMPILER_VERSION: 10
run: .github/workflows/cibuild.sh MESONCONF
- name: Meson build
run: .github/workflows/cibuild.sh MESONBUILD
+
distcheck:
needs: build
runs-on: ubuntu-latest
+ concurrency:
+ group: ${{ github.workflow }}-distcheck-${{ github.ref }}
+ cancel-in-progress: true
env:
COMPILER: gcc
COMPILER_VERSION: 10
run: .github/workflows/cibuild.sh CONFIGURE
- name: Make distcheck
run: .github/workflows/cibuild.sh DISTCHECK
+
build-compat:
strategy:
fail-fast: false
- image: ubuntu:18.04
name: build (compat, ${{ matrix.image }})
runs-on: ubuntu-latest
+ concurrency:
+ group: ${{ github.workflow }}-build-compat-${{ github.ref }}
+ cancel-in-progress: true
env:
COMPILER: none
container:
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
+ concurrency:
+ group: ${{ github.workflow }}-${{ toJSON(matrix) }}-${{ github.ref }}
+ cancel-in-progress: true
strategy:
fail-fast: false
matrix:
.github/workflows/cibuild.sh CONFIGURE MAKE
# Check
.github/workflows/cibuild.sh CHECK
+
build-openwrt:
name: build (openwrt, ${{ matrix.target }})
runs-on: ubuntu-latest
+ concurrency:
+ group: ${{ github.workflow }}-${{ toJSON(matrix) }}-${{ github.ref }}
+ cancel-in-progress: true
strategy:
fail-fast: false
matrix: