-
Notifications
You must be signed in to change notification settings - Fork 1
add debug.c.j2 to final build #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe GitHub Actions workflow for building Python executables was updated to include the Changes
Estimated code review effort1 (~2 minutes) Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (1)
.github/workflows/build.yml (1)
36-38
: Consider de-duplicating the PyInstaller stepThe six build jobs now carry identical install + build logic differing only by minor flags.
A composite action or a matrix job would remove duplication and guarantee all platforms use the same flags in the future (reducing the chance of the separator bug above).Example sketch (matrix for arch + os):
strategy: matrix: include: - os: macos-15 # darwin-arm - os: macos-13 # darwin-x64 - os: ubuntu-22.04-arm - os: ubuntu-22.04 - os: windows-11-arm - os: windows-2025 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: { python-version: '3.13' } - run: | python -m pip install --upgrade pip pip install lxml jinja2 black pyinstaller - run: > pyinstaller xml2st.py ${{ matrix.isBundled && '-F' || '' }} --add-data "plcopen${{ env.DATA_SEP }}plcopen" --add-data "debug.c.js${{ env.DATA_SEP }}."This is optional but will make future maintenance easier.
Also applies to: 64-66, 97-99, 130-132, 158-160, 186-188
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the future, we might need to map all data files and have them external to the pyinstaller bundle. Then if we need to modify them (plcopen xml files are a good example) we don't have to generate another build for the xml2st
Summary by CodeRabbit