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
Github action: auto build release packages #1239
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice to be able to manually build release packages with github actions for the following architectures:
hayabusa-x.x.x-mac-intel
)hayabusa-x.x.x-mac-arm
)hayabusa-x.x.x-win-x86.exe
)hayabusa-x.x.x-win-x64.exe
)hayabusa-x.x.x-win-arm.exe
)hayabusa-x.x.x-lin-intel-gnu
)hayabusa-x.x.x-lin-intel-musl
)hayabusa-x.x.x-lin-arm-gnu
)hayabusa-x.x.x-lin-arm-musl
)After compiling with
cargo build --release
, I renametarget/release/hayabusa-hogehoge.exe
to the executable names listed above, then runcargo clean
to delete the unneeded files. I then run theupdate-rules
command to get the latest rules and config files.After that, I delete the following files and directories as they are not needed to run:
.cargo/
.github/
doc/
screenshots/
src/
test_files/
.codecov.yml
.env.example
.gitignore
.gitmodules
Cargo.lock
Cargo.toml
After that we would need to zip up the directory into the following zip files to make available for release:
hayabusa-x.x.x-mac-intel.zip
)hayabusa-x.x.x-mac-arm.zip
)hayabusa-x.x.x-win-intel-32-bit.zip
)hayabusa-x.x.x-win-intel-64-bit.zip
)hayabusa-x.x.x-win-arm.zip
)hayabusa-x.x.x-lin-intel-gnu.zip
)hayabusa-x.x.x-lin-intel-musl.zip
)hayabusa-x.x.x-lin-arm-gnu.zip
)hayabusa-x.x.x-lin-arm-musl.zip
)The text was updated successfully, but these errors were encountered: