Skip to content

add format_as to ParseError #57

add format_as to ParseError

add format_as to ParseError #57

Workflow file for this run

name: Build and test
on:
push:
branches: "**"
pull_request:
branches: "**"
jobs:
build:
strategy:
fail-fast: false
matrix:
config:
- name: Ubuntu
os: ubuntu-latest
- name: macOS
os: macos-latest
runs-on: ${{ matrix.config.os }}
steps:
- uses: actions/checkout@v3
# - run: sudo apt install ninja-build
- uses: seanmiddleditch/gha-setup-ninja@v4
- name: Install GCC 12
if: matrix.config.os == 'ubuntu-latest'
run: |
sudo apt install -y gcc-12 g++-12
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -G Ninja
- name: Build
run: cmake --build ${{github.workspace}}/build --parallel
- name: Test
working-directory: ${{github.workspace}}/build/test
run: ctest