Issue 38/fix for clang support #77
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
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: '0 12 * * 1' # every Monday at 11:00 UTC - 12:00 CET | |
jobs: | |
check-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup-lint | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y --no-install-recommends clang-format make | |
- name: check-lint | |
run: make lint-check | |
build: | |
needs: check-lint | |
strategy: | |
fail-fast: false # we want all the flows to run, to success or failure | |
matrix: | |
distribution: | |
- ubuntu-22.04 | |
- ubuntu-20.04 | |
- debian-11 | |
- debian-10 | |
- centos-stream8 | |
- centos-centos7 | |
compiler: | |
- g++ | |
include: | |
- distribution: ubuntu-22.04-clang | |
compiler: clang++ | |
uses: ./.github/workflows/build_generic.yml | |
with: | |
distribution: ${{ matrix.distribution }} | |
compiler: ${{ matrix.compiler }} |