Skip to content

Github actions build and release script#1

Open
KaninHop wants to merge 6 commits intoBackporter:mainfrom
KaninHop:main
Open

Github actions build and release script#1
KaninHop wants to merge 6 commits intoBackporter:mainfrom
KaninHop:main

Conversation

@KaninHop
Copy link
Copy Markdown

Add a github action build.yml that will build and publish a release when you create a new version tag

KaninHop and others added 6 commits April 13, 2026 15:03
- Build all 4 preset variations in parallel (nocuda, avx, avx2, avx512)
- Create proper mod archives for MO2/Vortex installation
- Include DLL and debug symbols in each archive
- Cache vcpkg packages for faster builds
- Upload artifacts with correct SKSE/Plugins folder structure

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Create releases automatically when version tags (v*) are pushed
- Attach all 4 preset mod archives as release assets
- Generate release notes from commit history
- Release job waits for all build variants to complete

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
The CMakeLists.txt requires CompiledPluginsPath to be set at configure time,
even though COPY_OUTPUT is disabled. This caused the CI to fail with
'CompiledPluginsPath is not set' error.

Set it to a dummy workspace path so the configuration succeeds.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
upload-artifact@v4 rejects duplicate names within a run. Give each
matrix job its own artifact name and let the release job glob them
with merge-multiple.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add SMP Wind MCM.esp (static plugin, from last published release)
- Add Papyrus stubs (BaseGame, SKSE) and SkyUI-Community submodule
- Add dev-scripts/setup_ci.ps1 to download Caprica compiler in CI
- Add build-mcm job: compiles JGWD_MCM.psc, packages ESP + pex +
  translation into smpwind-mcm.zip
- Release job now depends on both build and build-mcm, attaching all
  5 zips (4 DLL variants + MCM) to the GitHub release

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add MCM build job to CI pipeline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant