Skip to content

Bump DoozyX/clang-format-lint-action from 0.17 to 0.18 #130

Bump DoozyX/clang-format-lint-action from 0.17 to 0.18

Bump DoozyX/clang-format-lint-action from 0.17 to 0.18 #130

Workflow file for this run

# SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
# SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: CC0-1.0
name: macOS
on:
push:
pull_request:
workflow_dispatch:
concurrency:
group: macos-${{ 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:
name: ${{ matrix.name }}
runs-on: macos-12
timeout-minutes: 120
strategy:
fail-fast: false
matrix:
include:
- name: "clang17"
compiler: "clang-17"
build_type: Release
- name: "gcc13"
compiler: "gcc-13"
build_type: Release
- name: "gcc12"
compiler: "gcc-12"
build_type: Release
- name: "gcc11"
compiler: "gcc-11"
build_type: Release
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup toolchain
uses: seqan/actions/setup-toolchain@main
with:
compiler: ${{ matrix.compiler }}
ccache_size: 75M
- name: Configure
run: |
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Werror"
- name: Build and run tests
working-directory: build
run: make -k check