Experiment with new verify statement #122
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
name: CMake build | |
on: [ push ] | |
env: | |
BUILD_TYPE: Debug | |
jobs: | |
clang-build: | |
strategy: | |
matrix: | |
clang: [clang-10, clang-11, clang-12] | |
continue-on-error: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install google-perftools libgoogle-perftools-dev -y | |
- name: Build | |
run: | | |
${{ matrix.clang }} --version | |
cmake -DCMAKE_C_COMPILER=${{ matrix.clang }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DOPTIMIZE=1 . | |
make -j 2 | |
gcc-build: | |
strategy: | |
matrix: | |
gcc: [gcc-9, gcc-10] | |
continue-on-error: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install google-perftools libgoogle-perftools-dev -y | |
- name: Build | |
run: | | |
${{ matrix.gcc }} --version | |
cmake -DCMAKE_C_COMPILER=${{ matrix.gcc }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DOPTIMIZE=1 . | |
make -j 2 |