This repository was archived by the owner on May 1, 2025. It is now read-only.
Add initial implementation of std::dump
(#1)
#22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
name: Continuous Integration Tests | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- "src/**" | |
- "test/**" | |
- "CMakeLists.txt" | |
pull_request: | |
branches: [ main ] | |
paths: | |
- "src/**" | |
- "test/**" | |
- "CMakeLists.txt" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
image: | |
- "gcc:14" | |
build_type: [Debug, Release] | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/foonathan/${{matrix.image}} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create Build Environment | |
run: cmake -E make_directory build | |
- name: Configure | |
working-directory: build/ | |
run: cmake -GNinja $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_FLAGS="-Werror -Wall -Wextra" | |
- name: Build | |
working-directory: build/ | |
run: cmake --build . | |
- name: Test | |
working-directory: build/ | |
run: ctest --output-on-failure |