Closed 2moe closed 6 months ago
Hey, thanks for setting it up!
I'll keep it open for now and have a closer look later, when more changes to rust9x itself are necessary. I'm lucky enough to have a fast PC, so creating a stage 2 build takes just a couple of minutes locally.
I'd like to see these changes:
python x.py install
, see the [install]
area in config.rust9x.toml
. The command will build and move everything nicely into the designated dir, so it's easy to compressNow it's triggered by "tag". Once you create and push a new tag, it is automatically released. In my opinion, triggered by tag would be better than a manual release to trigger it.
I changed it to python x.py install ${{env.BUILD_ARGS}}
About tar.zstd:
The Win11(23H2) Explorer.exe and C:/Windows/system32/tar.exe can now decompress the tar.zst
format. (Win11 23H2 with bsdtar pre-installed.)
Nevertheless, I changed it back to 7z.
Consider that actions(Standard GitHub-hosted runners) are a bit slow to build. If you don't plan to use self-hosted runner, then feel free to close this PR.
Consider that actions(Standard GitHub-hosted runners) are a bit slow to build.
yeah that was my other concern ^^ I don't expect too many updates/constant releases, so doing it manually while testing things locally should be fine at the moment. Should it change (e.g. lots of pull requests that need CI testing) additional process can be added.
Let github actions build the rust9x toolchain automatically, then pack+compress it to tar.zst and upload it to github releases.
The reason for using tar.zst, instead of 7z, is that 7z will give a warning when packing: