Skip to content

Fix GCC compilation on CI #375

Fix GCC compilation on CI

Fix GCC compilation on CI #375

name: Unit tests Linux
on: [push]
jobs:
unit-tests:
name: Build and run
runs-on: ubuntu-latest
steps:
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1.3
with:
version: 13
platform: x64
- name: Checkout the project
uses: actions/checkout@v2
- name: CMake
run: |
cd ./build
CXX=/usr/bin/g++-13 cmake -G"Unix Makefiles" ./.. -DCMAKE_BUILD_TYPE=Release
- name: Make
run: |
cd ./build
make
- name: Execute unit tests
run: |
cd ./build
./tests/unit_tests/UnitTests --gtest_also_run_disabled_tests