Skip to content

Merge pull request #3 from MiroPalmu/no_options #17

Merge pull request #3 from MiroPalmu/no_options

Merge pull request #3 from MiroPalmu/no_options #17

Workflow file for this run

name: gcc
on:
push:
branches:
- main
- feature/*
paths-ignore:
- '**.md'
pull_request:
branches: [main]
paths-ignore:
- '**.md'
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-22.04
env:
CC: gcc-11
CXX: g++-11
steps:
- uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build build -j 2
- name: Test
working-directory: build
run: ctest -j 2 --output-on-failure