Skip to content

Conversation

captainyarr
Copy link

This PR enhances the Windows build process with several key improvements:

  • Action Version Updates: Upgrades the checkout and upload-artifact GitHub Actions to their latest major versions for enhanced features and security.
  • Library Path Corrections: Updates paths to specific library files in the Windows workflow, ensuring correct linking and resolving potential build failures.
  • Dependency Management with vcpkg.json: Streamlines dependency management by using a vcpkg.json file to declare project dependencies, simplifying the build workflow.
  • Action Updates: Updates the Windows workflow to use the v2 version of the MSBuild setup action and v4 of the cache actions.
  • Push Event Triggers: Enables the Win32 build workflow to be triggered on push events, in addition to manual triggering, for continuous integration.
  • Workspace Variable Update: Updates the win32 workflow to use the github.workspace variable instead of runner.workspace.
  • vcpkg Dependency Installation: Enables vcpkg dependency installations
  • Working Directory Configuration: Sets the working directory for vcpkg install to ensure correct dependency resolution, preventing potential issues related to relative paths and ensuring that vcpkg operates within the expected workspace.
  • Improved Build Times with Caching: Improves build times on Windows by caching the vcpkg and nuget directories using GitHub Actions cache, avoiding redownloading dependencies on each build.

to their latest major versions.

Updates the paths to specific library files in the Windows workflow to ensure correct linking during the build process. This resolves
potential build failures caused by incorrect library specifications.

Simplifies the Windows build workflow by using a `vcpkg.json` file to
declare dependencies.

Updates the Windows workflow to use the v2 version of the MSBuild setup
action and v4 of the cache actions.

Enables the Win32 build workflow to be triggered on push events, in
addition to manual triggering.

Updates the win32 workflow to use the `github.workspace` variable
instead of `runner.workspace`.

Enables vcpkg dependency installations

Sets the working directory for vcpkg install to ensure correct
dependency resolution.

This prevents potential issues related to relative paths and ensures
that vcpkg operates within the expected workspace.

Improves build times on Windows by caching the vcpkg and nuget
directories using GitHub Actions cache.

This avoids redownloading dependencies on each build.
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