[c, cpp]: support VERSION file for CMake ABI versioning #3586
Workflow file for this run
This file contains 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
name: test-codegen | |
on: | |
push: | |
branches: | |
- main | |
- renovate/** | |
pull_request: | |
branches: | |
- main | |
workflow_call: | |
jobs: | |
test-codegen: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '5.0.x' | |
- name: install berp | |
run: | | |
dotnet tool update Berp --version 1.3.0 --tool-path ~/bin | |
echo "~/bin" >> $GITHUB_PATH | |
- name: generate code for all languages | |
run: | | |
make clean-gherkin-languages | |
make copy-gherkin-languages | |
make clean-generate | |
make generate | |
- name: check the repo is still clean after generation | |
run: | | |
git status --porcelain | |
git diff HEAD | |
[ -z "$(git status --porcelain)" ] |