github/workflow: add clang++

This commit is contained in:
Tom 2020-08-01 14:28:24 +02:00
parent bc4e2b7881
commit b9c7b4b935

View File

@ -1,10 +1,14 @@
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
build: build:
strategy:
matrix:
compiler: [g++, clang++]
name: Build and run tests (${{ matrix.compiler }})
timeout-minutes: 10 timeout-minutes: 10
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env: env:
CXX: g++ CXX: ${{ matrix.compiler }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/checkout@v2 - uses: actions/checkout@v2