Skip to content

Seperate the build and release workflow in github actions #5

Closed
ITx-prash wants to merge 3 commits into
mainfrom
break-and-build
Closed

Seperate the build and release workflow in github actions #5
ITx-prash wants to merge 3 commits into
mainfrom
break-and-build

Conversation

@ITx-prash

Copy link
Copy Markdown
Owner

This pull request introduces a new GitHub Actions workflow for testing builds (build.yml) and updates the existing release workflow (release.yml) to align with the new build process and improve artifact preparation. Below are the key changes:

New Build Workflow (.github/workflows/build.yml):

  • Introduction of a Test-Only Build Workflow: A new workflow named "Build (Test Only)" was added to run on push events to the break-and-build branch and pull_request events targeting main. It supports both Linux and Windows builds with a matrix strategy.
  • Dependency Setup and Caching: Added steps to install dependencies like Boost, configure MinGW for cross-compilation, and cache Boost libraries for faster builds.
  • Build and Verification Process: Includes platform-specific build steps, cross-compilation for Windows, and verification of the build output.
  • Artifact Packaging and Upload: Packages build artifacts into platform-specific directories and uploads them with a 7-day retention period.

Updates to Release Workflow (.github/workflows/release.yml):

  • Trigger Simplification: Removed pull_request and release triggers to focus solely on push events to main.
  • Artifact Packaging Alignment: Updated the artifact preparation logic to match the new structure introduced in the build workflow, including platform-specific directories and improved README generation.
  • Archive Creation Improvement: Adjusted archive creation to use the new directory structure, ensuring consistency between platforms.
  • Conditional Release Step: Removed the conditional check for triggering the create-release job, simplifying the workflow logic.

@ITx-prash

Copy link
Copy Markdown
Owner Author

Will merge the next pull request with the update in the build workflow ;)

@ITx-prash ITx-prash closed this Jul 20, 2025
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