RFR: Added github actions [v2]
Jiří Vaněk
jvanek at openjdk.org
Wed Sep 21 18:19:36 UTC 2022
On Wed, 21 Sep 2022 18:16:05 GMT, Jiří Vaněk <jvanek at openjdk.org> wrote:
>> Just for record for "act" for local testing. To run with podman based distros, several steps are ncessary. See https://github.com/nektos/act/issues/303 ; especially
>> * https://github.com/nektos/act/issues/303#issuecomment-937698375
>> * and https://github.com/nektos/act/issues/303#issuecomment-962403508
>> * the bind and socket
>> eg:
>> systemctl enable --now --user podman.socket
>> systemctl start --user podman.socket
>> export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock
>> ../act/bin/act --bind --container-daemon-socket $XDG_RUNTIME_DIR/podman/podman.sock
>>
>> To rerun the build on clean env, you have to stop and start the podman socket again
>
> Jiří Vaněk has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
>
> Added github actions
>
> Just for record for "act" for local testing. To run with podman based distros, several steps are ncessary. See https://github.com/nektos/act/issues/303 ; especially
> * https://github.com/nektos/act/issues/303#issuecomment-937698375
> * and https://github.com/nektos/act/issues/303#issuecomment-962403508
> * the bind and socket
> eg:
> systemctl enable --now --user podman.socket
> systemctl start --user podman.socket
> export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock
> ../act/bin/act --bind --container-daemon-socket $XDG_RUNTIME_DIR/podman/podman.sock
>
> To rerun the build on clean env, you have to stop and start the podman socket again
It do not run the tests. Maybe it is because of act, maybe because of used ubuntu.. IDK.. maybe it will run in github world :(
I'm +1 for merge, and to tune later
Te original reason was to make you see the failing tests traces ;)
-------------
PR: https://git.openjdk.org/asmtools/pull/45
More information about the asmtools-dev
mailing list