Skip to content

Update project to 0.5.0 #2

Update project to 0.5.0

Update project to 0.5.0 #2

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: "Build all"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config:
- { cxx: "g++", opts: "-DBUILD_TESTING=ON", add_deps: "" }
- { cxx: "clang++", opts: "-DBUILD_TESTING=ON", add_deps: "" }
- { cxx: "x86_64-w64-mingw32-g++-posix", opts: "-DBUILD_TESTING=ON", add_deps: "g++-mingw-w64-x86-64-posix" }
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y --no-install-recommends cmake googletest ninja-build ${{ matrix.config.add_deps }}
- name: Build with ${{ matrix.config.cxx }}
env:
CXX: ${{ matrix.config.cxx }}
run: |
cmake -B build -G Ninja ${{ matrix.config.opts }}
cmake --build build -j2
ctest --test-dir build/tests -j2