Skip to content

PhilippGrulich builds Nautilus #32

PhilippGrulich builds Nautilus

PhilippGrulich builds Nautilus #32

Workflow file for this run

name: Build Nautilus
run-name: ${{ github.actor }} builds Nautilus
on: [push]
jobs:
build-test:
runs-on: ${{matrix.os}}
name: Build on ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-20.04', 'ubuntu-22.04', 'macos-13' ]
env:
CC: gcc-10
CXX: g++-10
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- name: get cmake
uses: lukka/get-cmake@latest
- name: ccache
uses: hendrikmuhs/[email protected]
- name: cmake
shell: bash
run: |
cmake -DCMAKE_BUILD_TYPE=Release -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -G Ninja -S . -B .
- name: build
shell: bash
run: |
cmake --build . --target all
- name: test
shell: bash
run: |
ctest