Skip to content

Merge pull request #18 from AntelopeIO/catch2bump #69

Merge pull request #18 from AntelopeIO/catch2bump

Merge pull request #18 from AntelopeIO/catch2bump #69

Workflow file for this run

name: actions
on:
push:
branches: ['**']
pull_request:
branches: [main, master]
jobs:
build:
runs-on: ${{ matrix.config.vm_image }}
strategy:
fail-fast: false
matrix:
config:
- name: Ubuntu 20.04
mode: Release
os: ubuntu
vm_image: ubuntu-20.04
- name: Ubuntu 22.04
mode: Release
os: ubuntu
vm_image: ubuntu-22.04
- name: MacOS
mode: Release
os: macos
vm_image: macos-11
env:
DEBIAN_FRONTEND: noninteractive
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: 'configure'
run: |
cmake -DCMAKE_BUILD_TYPE=${{ matrix.config.mode }} -Bbuild -S.
- name: 'compile'
run: |
cmake --build build
- name: 'test'
run: |
cd build && ctest