Skip to content

Source File Breakout #6

Source File Breakout

Source File Breakout #6

Workflow file for this run

name: Ubuntu Unit Testing
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
BUILD_TYPE: Debug
jobs:
linux-test:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Boost
uses: MarkusJx/install-boost@v2.4.5
id: install-boost
with:
boost_version: 1.84.0
platform_version: 22.04
toolset: 'gcc'
- name: Install Eigen3
uses: kupns-aka-kupa/setup-eigen3@master
id: install-eigen3
with:
version: 3.4.0
env:
CMAKE_GENERATOR: Ninja
- name: Install GTest Ubuntu
run: sudo apt-get install libgtest-dev
- name: Configure CMake
working-directory: ${{github.workspace}}
run: cmake --workflow --preset gcc-debug
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
EIGEN3_INCLUDE_DIR: ${{ steps.install-eigen3.outputs.EIGEN3_INCLUDE_DIR }}
EIGEN3_DIR: ${{ steps.install-eigen3.outputs.EIGEN3_DIR}}