Skip to content

Merge pull request #250 from seqan/actions/update_cpm_package_lock #716

Merge pull request #250 from seqan/actions/update_cpm_package_lock

Merge pull request #250 from seqan/actions/update_cpm_package_lock #716

Workflow file for this run

# 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: Utility
on:
push:
branches:
- 'main'
pull_request:
types:
- unlabeled
workflow_dispatch:
concurrency:
group: util-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name != 'push' }}
env:
TZ: Europe/Berlin
defaults:
run:
shell: bash -Eexuo pipefail {0}
jobs:
build:
name: ${{ matrix.compiler }}
runs-on: ubuntu-latest
if: github.repository_owner == 'seqan' || github.event_name == 'workflow_dispatch' || github.event.label.name == 'lint'
strategy:
fail-fast: false
matrix:
compiler: ["clang-19", "gcc-14"]
container:
image: ghcr.io/seqan/${{ matrix.compiler }}
volumes:
- /home/runner:/home/runner
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure util
run: |
mkdir build && cd build
cmake ../util -DCMAKE_BUILD_TYPE=Release
- name: Build util
working-directory: build
run: |
ccache -z
make -k -j
ccache -sv