Skip to content

Update dependencies #116

Update dependencies

Update dependencies #116

Workflow file for this run

name: CMake
on:
push:
branches:
- '**'
paths:
- 'cpp/**'
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Debug
jobs:
build-gcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build & Test
uses: ashutoshvarma/action-cmake-build@master
with:
submodule-update: true
source-dir: ${{github.workspace}}/cpp
build-dir: ${{github.workspace}}/cpp/build
cc: gcc
cxx: g++
build-type: Release
run-test: true
ctest-options: "--output-on-failure"
install-build: false
build-clang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build & Test
uses: ashutoshvarma/action-cmake-build@master
with:
submodule-update: true
source-dir: ${{github.workspace}}/cpp
build-dir: ${{github.workspace}}/cpp/build
cc: clang
cxx: clang++
build-options: -stdlib=libc++ -std=c++20
build-type: Release
run-test: true
ctest-options: "--output-on-failure"
install-build: false