Skip to content

Merge branch 'master' of github.com:eteran/cpp-utilities #7

Merge branch 'master' of github.com:eteran/cpp-utilities

Merge branch 'master' of github.com:eteran/cpp-utilities #7

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
ci:
runs-on: ubuntu-22.04
strategy:
matrix:
# @see https://stackoverflow.com/a/68940067
compiler: [{cc: clang-15, cxx: clang++-15}, {cc: gcc, cxx: g++}]
std: [14, 17]
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get -y update && sudo apt-get -y install \
clang-15 \
libboost-all-dev
- name: Configure
run: |
CC=${{ matrix.compiler.cc }} CXX=${{ matrix.compiler.cxx }} cmake -DCMAKE_CXX_STANDARD=${{ matrix.std }} .
- name: Build
run: |
make
- name: Test
run: |
make test