Skip to content

Use yamlscript for the CI workflows #9

Use yamlscript for the CI workflows

Use yamlscript for the CI workflows #9

Workflow file for this run

# DO NOT EDIT - GENERATED FROM .github/workflows-in/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: c4core-
PROJ_PFX_CMAKE: C4CORE_
CMAKE_FLAGS: null
NUM_JOBS_BUILD: null
jobs:
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-in install-ys
- name: generate workflows
run: make -C .github/workflows-in build
- name: test workflows
run: |
wc --version
wc --help
make -C .github/workflows-in test
status=$?
if [ $status != 0 ] ; then
echo "ERROR: generated workflows are out of date"
fi
exit $status