mirror of
https://github.com/systemd/systemd.git
synced 2026-08-13 17:08:14 +00:00
Bumps the actions group with 6 updates: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `6.0.2` | `7.0.0` | | [actions/setup-python](https://github.com/actions/setup-python) | `6.2.0` | `6.3.0` | | [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) | `4.36.0` | `4.36.2` | | [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) | `6.1.2` | `6.2.0` | | [super-linter/super-linter/slim](https://github.com/super-linter/super-linter) | `8.6.0` | `8.7.0` | | [softprops/action-gh-release](https://github.com/softprops/action-gh-release) | `3.0.0` | `3.0.1` | Updates `actions/checkout` from 6.0.2 to 7.0.0 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](de0fac2e45...9c091bb21b) Updates `actions/setup-python` from 6.2.0 to 6.3.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](a309ff8b42...ece7cb06ca) Updates `github/codeql-action/upload-sarif` from 4.36.0 to 4.36.2 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](7211b7c807...8aad20d150) Updates `aws-actions/configure-aws-credentials` from 6.1.2 to 6.2.0 - [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases) - [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md) - [Commits](acca2b1b20...e7f100cf4c) Updates `super-linter/super-linter/slim` from 8.6.0 to 8.7.0 - [Release notes](https://github.com/super-linter/super-linter/releases) - [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md) - [Commits](9e863354e3...4ce20838b8) Updates `softprops/action-gh-release` from 3.0.0 to 3.0.1 - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](b430933298...718ea10b13) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/setup-python dependency-version: 6.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: github/codeql-action/upload-sarif dependency-version: 4.36.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: aws-actions/configure-aws-credentials dependency-version: 6.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: super-linter/super-linter/slim dependency-version: 8.7.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: softprops/action-gh-release dependency-version: 3.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
102 lines
3.1 KiB
YAML
102 lines
3.1 KiB
YAML
---
|
|
# vi: ts=2 sw=2 et:
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
#
|
|
name: Unit tests
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- v[0-9]+-stable
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.runner }}
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ matrix.run_phase }}-${{ matrix.cross_arch || 'native' }}-${{ github.ref }}-${{ matrix.runner }}
|
|
cancel-in-progress: true
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
runner: [ ubuntu-24.04 ]
|
|
run_phase: [GCC, GCC_ASAN_UBSAN, CLANG, CLANG_RELEASE, CLANG_ASAN_UBSAN, CLANG_ASAN_UBSAN_NO_DEPS]
|
|
include:
|
|
- run_phase: GCC
|
|
- run_phase: GCC
|
|
runner: ubuntu-24.04-arm
|
|
- run_phase: GCC
|
|
runner: ubuntu-24.04-arm
|
|
cross_arch: armhf
|
|
- run_phase: GCC
|
|
runner: ubuntu-24.04-ppc64le
|
|
- run_phase: GCC
|
|
runner: ubuntu-24.04-s390x
|
|
- run_phase: CLANG
|
|
- run_phase: CLANG
|
|
runner: ubuntu-24.04-arm
|
|
- run_phase: CLANG
|
|
runner: ubuntu-24.04-arm
|
|
cross_arch: armhf
|
|
- run_phase: CLANG
|
|
runner: ubuntu-24.04-ppc64le
|
|
- run_phase: CLANG
|
|
runner: ubuntu-24.04-s390x
|
|
env:
|
|
CROSS_ARCH: ${{ matrix.cross_arch || '' }}
|
|
steps:
|
|
- name: Repository checkout
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
|
|
with:
|
|
persist-credentials: false
|
|
- name: Install build dependencies
|
|
run: |
|
|
# Drop XDG_* stuff from /etc/environment, so we don't get the user
|
|
# XDG_* variables when running under sudo
|
|
sudo sed -i '/^XDG_/d' /etc/environment
|
|
# Pass only specific env variables through sudo, to avoid having
|
|
# the already existing XDG_* stuff on the "other side"
|
|
sudo --preserve-env=GITHUB_ACTIONS,CI,CROSS_ARCH .github/workflows/unit-tests.sh SETUP
|
|
- name: Build & test
|
|
run: sudo --preserve-env=GITHUB_ACTIONS,CI,CROSS_ARCH .github/workflows/unit-tests.sh RUN_${{ matrix.run_phase }}
|
|
|
|
build-musl:
|
|
name: Build & test (musl, postmarketOS)
|
|
runs-on: ubuntu-24.04
|
|
concurrency:
|
|
group: ${{ github.workflow }}-musl-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
steps:
|
|
- name: Repository checkout
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- uses: systemd/mkosi@f7762b71437227922a367bb89597843c77494ef9
|
|
|
|
- name: Build tools tree
|
|
run: |
|
|
tee mkosi/mkosi.local.conf <<EOF
|
|
[Build]
|
|
ToolsTreeDistribution=postmarketos
|
|
EOF
|
|
|
|
mkosi -f box -- true
|
|
|
|
- name: Build
|
|
run: |
|
|
mkosi box -- \
|
|
meson setup \
|
|
--werror \
|
|
-Dtests=unsafe \
|
|
-Dslow-tests=true \
|
|
-Dfuzz-tests=true \
|
|
-Dlibc=musl \
|
|
build
|
|
mkosi box -- ninja -v -C build
|
|
|
|
- name: Test
|
|
run: mkosi box -- meson test -C build --print-errorlogs --no-stdsplit --quiet
|