Skip to content

Merge pull request #132 from arkedge/feature/refactor-user-cmake-option #37

Merge pull request #132 from arkedge/feature/refactor-user-cmake-option

Merge pull request #132 from arkedge/feature/refactor-user-cmake-option #37

name: check tlm_cmd code generation
on:
push:
branches:
- main
- develop
pull_request:
jobs:
check_code_generate:
strategy:
fail-fast: false
matrix:
user:
- mobc
- subobc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: run tlm-cmd-code-generator
working-directory: ./tlm-cmd-code-generator
run: |
cp "./settings_${{ matrix.user }}.json" ./settings.json
python GenerateC2ACode.py
- name: check diff
run: |
git add .
if ! git diff --exit-code --cached; then
echo "threre are some diff after code generation"
exit 1
fi