Skip to content

Draft: Add manual release build workflow - #7

Merged
Aria00pp merged 1 commit into
mainfrom
codex/add-github-actions-release-build-workflow
Jun 1, 2026
Merged

Aria00pp merged 1 commit into
mainfrom
codex/add-github-actions-release-build-workflow

Conversation

@Aria00pp

@Aria00pp Aria00pp commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Provide a maintainer-invoked release workflow to produce downloadable software build artifacts for Portable AVR Control Studio targeting Arduino Uno / ATmega328P AVR without adding product features.
  • Keep generated EXE/HEX/ZIP/checksum files out of git and make clear these are software build artifacts only, not physical hardware validation.

Description

  • Add a manual-only GitHub Actions workflow at /.github/workflows/release-build.yml that is triggered with workflow_dispatch and runs three jobs: windows-exe, uno-firmware-hex, and customer-package.
  • The windows-exe job runs on windows-latest, sets up Python, installs pyinstaller and pyserial, runs powershell -ExecutionPolicy Bypass -File .\release\scripts\build_windows_exe.ps1, verifies release/artifacts/windows/PortableAVRControlStudio.exe, and uploads it as the portable-avr-control-studio-windows-exe artifact.
  • The uno-firmware-hex job runs on ubuntu-latest, installs Arduino CLI via arduino/setup-arduino-cli@v2, installs the arduino:avr core, runs bash release/scripts/build_uno_firmware_hex.sh, verifies release/artifacts/firmware/PortableAVRControlStudio.ino.hex, and uploads firmware outputs as the portable-avr-control-studio-uno-firmware artifact.
  • The customer-package job depends on the prior two, downloads those artifacts, runs python release/scripts/assemble_customer_package.py to produce release/customer_package/PortableAVRControlStudio-customer-handoff.zip, generates SHA-256 checksums into release/artifacts/checksums/SHA256SUMS.txt, and uploads the ZIP and checksums as artifacts.
  • Update release/BUILD_VERIFICATION.md with instructions for running the manual workflow and where to download Actions artifacts, and update release/candidates/RC-0.1.md to note that RC artifacts may be produced by the manual workflow.
  • Update .gitignore to ignore release/artifacts/checksums/* and ensure generated artifacts and checksums are not committed.

Testing

  • Ran actionlint .github/workflows/checks.yml .github/workflows/release-build.yml with no errors. (passed)
  • Compiled Python modules with python -m py_compile gui/portable_avr_control_studio.py release/scripts/assemble_customer_package.py and ran python release/scripts/assemble_customer_package.py --help. (passed)
  • Exercised parser smoke tests for parse_serial_line via a small Python check. (passed)
  • Performed a release assembly smoke test by creating dummy EXE/HEX inputs and running the assembler to verify staging and ZIP creation. (passed)
  • Verified git diff --check and repository hygiene checks to confirm generated artifacts are ignored. (passed)

Codex Task

@Aria00pp
Aria00pp merged commit 321a074 into main Jun 1, 2026
2 checks passed
@Aria00pp
Aria00pp deleted the codex/add-github-actions-release-build-workflow branch June 1, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant