Skip to content

ACTIONS: Use Abseil in MSVC workflow, to get backtraces in tests #35

ACTIONS: Use Abseil in MSVC workflow, to get backtraces in tests

ACTIONS: Use Abseil in MSVC workflow, to get backtraces in tests #35

name: linux cmake clang
on:
[push, pull_request]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies
id: install_dependencies
run: sudo apt-get update -qq && sudo apt-get -y install ninja-build libboost-all-dev
- name: Set clang as the compiler to use
id: set_clang
run: |
echo "CC=clang" >> $GITHUB_ENV
echo "CXX=clang++" >> $GITHUB_ENV
- name: Configure
id: configure
run: cmake -G Ninja .
- name: Compile
id: compile
run: cmake --build .
- name: Build and run unit tests
id: run_unit_tests
run: cmake --build . --target check