mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
24 lines
562 B
YAML
24 lines
562 B
YAML
---
|
|
# vi: ts=2 sw=2 et:
|
|
#
|
|
name: Unit tests
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-20.04
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
run_phase: [GCC, GCC_ASAN_UBSAN, CLANG, CLANG_ASAN_UBSAN]
|
|
steps:
|
|
- name: Repository checkout
|
|
uses: actions/checkout@v1
|
|
- name: Install build dependencies
|
|
run: sudo -E .github/workflows/unit_tests.sh SETUP
|
|
- name: Build & test (${{ matrix.run_phase }})
|
|
run: sudo -E .github/workflows/unit_tests.sh RUN_${{ matrix.run_phase }}
|