CI - Update Libraries 96341d3417a8bcc6bcf195d07ce50d899c9c53f4227872a4bb3159850b19468a #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin | |
# SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik | |
# SPDX-License-Identifier: CC0-1.0 | |
name: "CI" | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
env: | |
NANOBENCH_SUPPRESS_WARNINGS: 1 | |
TZ: Europe/Berlin | |
concurrency: | |
group: ${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: ${{ matrix.os }}-${{ matrix.compiler }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 120 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- {os: ubuntu-22.04, compiler: spdx_license_lint} | |
- {os: ubuntu-22.04, compiler: gcc14-cpp20-release} | |
- {os: ubuntu-22.04, compiler: gcc14-cpp20-debug-sanitize_address} | |
- {os: ubuntu-22.04, compiler: gcc14-cpp20-debug-sanitize_undefined} | |
- {os: ubuntu-22.04, compiler: gcc14-cpp20-debug-sanitize_thread} | |
steps: | |
- name: Standard IV-project testing | |
uses: iv-project/[email protected] | |
with: | |
compiler: ${{ matrix.compiler }} | |
threads: 2 | |
cmake_flags: ${{ matrix.cmake_flags }} | |
cmake_c_flags: ${{ matrix.cmake_c_flags }} | |
cmake_cxx_flags: ${{ matrix.cmake_cxx_flags }} | |
final: | |
runs-on: ubuntu-22.04 | |
name: final-pass | |
needs: build | |
if: always() | |
steps: | |
- name: Succeeded | |
if: ${{ !(contains(needs.*.result, 'failure')) }} | |
run: exit 0 | |
- name: CI failed | |
if: ${{ contains(needs.*.result, 'failure') }} | |
run: exit 1 |