Skip to content

Is this what's missing? #48

Is this what's missing?

Is this what's missing? #48

Workflow file for this run

name: C/C++ CI
on: [push]
jobs:
ubuntu_matrix:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc, clang]
steps:
- uses: actions/checkout@v3
- name: Switch to GCC-10
if: ${{ matrix.compiler == 'gcc' }}
run: |
gcc --version | head -1
sudo apt install gcc-10 g++-10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 --slave /usr/bin/gcov gcov /usr/bin/gcov-10
sudo update-alternatives --set gcc /usr/bin/gcc-10
- name: make
env:
CC: ${{ matrix.compiler }}
run: make
- name: make test
run: make test