From b9c7b4b935b9dec9b982ae05597a0f8cdf549871 Mon Sep 17 00:00:00 2001 From: Tom Date: Sat, 1 Aug 2020 14:28:24 +0200 Subject: [PATCH] github/workflow: add clang++ --- .github/workflows/build-and-test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index bdabefb..b5ff4d9 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -1,10 +1,14 @@ on: [push, pull_request] jobs: build: + strategy: + matrix: + compiler: [g++, clang++] + name: Build and run tests (${{ matrix.compiler }}) timeout-minutes: 10 runs-on: ubuntu-20.04 env: - CXX: g++ + CXX: ${{ matrix.compiler }} steps: - uses: actions/checkout@v2 - uses: actions/checkout@v2