Skip to content

modified gpp and clang forkflows to set both cxx and c compilers corr… #26

modified gpp and clang forkflows to set both cxx and c compilers corr…

modified gpp and clang forkflows to set both cxx and c compilers corr… #26

Workflow file for this run

name: clang++
on:
push:
branches:
- '*'
pull_request:
branches:
- master
jobs:
build:
name: Build examples
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
shell: bash
env:
CC: clang-14
CXX: clang++-14
run: |
cd example
cmake -B build -DCMAKE_CXX_COMPILER=clang++-14 -DCMAKE_C_COMPILER=clang-14
cd build
make
continue-on-error: false