Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script for building package variants #125

Merged
merged 10 commits into from
Aug 13, 2023

Conversation

nathanrw
Copy link
Contributor

@nathanrw nathanrw commented Jul 26, 2023

Provided a script for building Arch in multiple variants.

  • Added presets to .sln and .csproj for the different variants
  • Fixed the build for non-PURE_ECS benchmarks.
  • Added script Build.sh to build the different presets
    • The script fiddles the .csproj file before building to tweak the .nupkg name based on the preset. Perhaps
      someone more familiar with dotnet could suggest a better way of doing this.
    • The script can upload packages if you pass it --publish and provide your API key. I have not tested
      this.
  • Added a script Test.sh to test the various presets
  • Called the new scripts in workflow.

@nathanrw nathanrw changed the title WIP: Script for building package variants Script for building package variants Jul 27, 2023
@genaray genaray added the enhancement New feature or request label Jul 27, 2023
@genaray genaray merged commit a76ff8b into genaray:master Aug 13, 2023
1 check passed
@genaray
Copy link
Owner

genaray commented Aug 13, 2023

Could you probably demonstrate the usage? ^^
I saw there's a usage in the build.sh. But one small example would be great :)

@nathanrw
Copy link
Contributor Author

Usage should be

./scripts/Build.sh

to build. Followed by

./scripts/Build.sh --publish --api-key yourApiKey

to publish. But I haven't tested the publishing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants