-
Notifications
You must be signed in to change notification settings - Fork 9
49 lines (40 loc) · 1.18 KB
/
ci_linux.yml
File metadata and controls
49 lines (40 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
# SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: CC0-1.0
name: Linux
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: linux-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name != 'push' }}
env:
TZ: Europe/Berlin
defaults:
run:
shell: bash -Eeuxo pipefail {0}
jobs:
build:
runs-on: ubuntu-latest
name: ${{ matrix.compiler }}
strategy:
fail-fast: false
matrix:
compiler: ["clang-latest", "clang-second-latest", "clang-third-latest", "gcc-latest", "gcc-second-latest", "gcc-third-latest", "intel"]
container:
image: ghcr.io/seqan/${{ matrix.compiler }}
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup cache
uses: seqan/actions/setup-actions-cache@main
- name: Configure tests
run: |
mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
- name: Build and run tests
working-directory: build
run: make -k check