Skip to content

maintenance update #799

maintenance update

maintenance update #799

Workflow file for this run

name: Linux / MacOS - c++
on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-22.04
build_type: Release
row_major: ON
- os: ubuntu-22.04
build_type: RelWithDebInfo
row_major: OFF
- os: ubuntu-24.04
build_type: RelWithDebInfo
row_major: OFF
- os: macos-13
build_type: RelWithDebInfo
row_major: OFF
- os: macos-14
build_type: RelWithDebInfo
row_major: OFF
fail-fast: false
env:
ROW_MAJOR_DEFAULT: ${{ matrix.row_major }}
steps:
- uses: actions/checkout@v2
- name: ccache
uses: hendrikmuhs/ccache-action@v1
- name: Install dependencies (Linux incl. Ceres)
run: ./scripts/install_ubuntu22_04_deps_incl_ceres.sh
if: matrix.os == 'ubuntu-22.04'
- name: Install dependencies (Linux NO Ceres)
run: ./scripts/install_ubuntu24_04_deps_no_ceres.sh
if: matrix.os == 'ubuntu-24.04'
- name: Install dependencies (Mac OS incl. Ceres)
run: ./scripts/install_osx_deps_incl_ceres.sh
if: matrix.os == 'macos-14' || matrix.os == 'macos-13'
- name: Run tests
run: ./scripts/run_cpp_tests.sh