Skip to content

Automatically Create a CSFML NuGet Package#249

Merged
eXpl0it3r merged 3 commits into2.6.xfrom
feature/nuget-workflow
May 18, 2024
Merged

Automatically Create a CSFML NuGet Package#249
eXpl0it3r merged 3 commits into2.6.xfrom
feature/nuget-workflow

Conversation

@eXpl0it3r
Copy link
Copy Markdown
Member

@eXpl0it3r eXpl0it3r commented May 18, 2024

Creating new releases is tedious work, as you need to build for multiple platforms, collect all the builds and then package it up.

With this new GitHub Action, it's all automated. It supports the following platforms:

  • Windows x86
  • Windows x64
  • Linux x64 (via Docker)
  • Linux MUSL x64 (via Docker)
  • Linux ARM (via QEMU)
  • Linux ARM64 (via QEMU)
  • Fedora x64 (via Docker
  • macOS x64
  • macOS ARM64

This PR also includes a commit to enable module selection for CSFML. This helps with build times of the NuGet workflow, as we don't need to build the network module, neither for SFML, nor CSFML.

I've left out automatic publishing to NuGet (for now), as this is a relatively simple step to do once you have the NuGet package and it's hard to tests, as you only want to upload the package for a new release.

To prevent unnecessary wait times (10+min) for our own braches, I've limited the NuGet CI execution to the 2.6.x and master branch.

@eXpl0it3r eXpl0it3r force-pushed the feature/nuget-workflow branch from 56f8692 to 3ac95e4 Compare May 18, 2024 11:54
@eXpl0it3r eXpl0it3r force-pushed the feature/nuget-workflow branch 2 times, most recently from 141222f to 829eb7f Compare May 18, 2024 12:31
@eXpl0it3r eXpl0it3r force-pushed the feature/nuget-workflow branch from 829eb7f to ea6fb2c Compare May 18, 2024 12:31
@eXpl0it3r eXpl0it3r merged commit a9cdb1a into 2.6.x May 18, 2024
@eXpl0it3r eXpl0it3r deleted the feature/nuget-workflow branch May 18, 2024 13:44
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.

2 participants