Files
rapidyaml/.github/workflows/infra.yml
Joao Paulo Magalhaes 6fbd63a856 ci improvements:
- ensure gcc and clang are tested with several optimization
  levels (-O3,-O2,-O1,-Os). This reveals a number of problems in
  gcc11,12,13 (but not 14), which should be addressed next.
- use continue-on-error: false to ensure the final workflow result is
  red when any of its jobs fails
2025-01-17 19:36:30 +00:00

51 lines
1.1 KiB
YAML

# DO NOT EDIT - GENERATED FROM .github/workflows/infra.ys
name: infra
defaults:
run:
shell: bash -e -x {0}
'on':
workflow_dispatch: null
push:
branches:
- master
pull_request:
branches:
- master
env:
PROJ_PFX_TARGET: ryml-
PROJ_PFX_CMAKE: RYML_
CMAKE_FLAGS: -DRYML_TEST_SUITE=ON
NUM_JOBS_BUILD: null
jobs:
log-github-event:
name: log github event
runs-on: ubuntu-24.04
steps:
- name: log github event
run: echo "${{toJSON(github.event)}}"
check_workflows:
if: always()
continue-on-error: false
runs-on: ubuntu-24.04
steps:
- name: checkout (action)
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: install ys
run: make -C .github/workflows install-ys
- name: generate workflows
run: make -C .github/workflows build
- name: test workflows
run: |
wc --version
wc --help
make -C .github/workflows test
status=$?
if [ $status != 0 ] ; then
echo "ERROR: generated workflows are out of date"
fi
exit $status