ps2dev / ps2toolchain

This program will automatically build and install a compiler and other tools used in the creation of homebrew software for the Sony PlayStation® 2 videogame system.
BSD 2-Clause "Simplified" License
239 stars 73 forks source link

Add GitHub Actions #65

Closed fjtrujy closed 4 years ago

fjtrujy commented 4 years ago

Description

This PR is to assure that at least that the current toolchain.sh script, compiles for Linux and MacOS. It also generates as an artifact the ps2dev folder ready for download and uses it.

Thanks.

rickgaiser commented 4 years ago

So this compiles ps2toolchain for every push and every PR? Does it then also show in the PR if the "checks passed"?

This does not yet push a new Docker image, but that could be added in the future?

@akuhak how does this combine with your PR; docker clouds initializing?

What does the repository_dispatch do?

fjtrujy commented 4 years ago

Hello @rickgaiser,

So this compiles ps2toolchain for every push and every PR? Does it then also show in the PR if the "checks passed"? -> Yes, it should be reflected in the PRs the status of the compilation.

This does not yet push a new Docker image, but that could be added in the future? -> Yes, it can be done in the same workflow or different one (it means in the same file or different one)

What does the repository_dispatch do? -> This is for being listening to an external agent that could also dispatch the compilation or release action. So For instance, the day off tomorrow if a change is done in PS2SDK to automatically dispatch the release action and generate a new package with the latest status of everything. Right now this is not used at all, it is just prepared for the future.

@AKuHAK PR needs to be updated, it was thought to use TravisCI to generate the docker, but now this is no longer needed, TravisCI is fully replaced with GitHubActions, in this way we can avoid to introduce another platform in the picture.

Thanks