Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

ci: add go-test-setup action #20

Merged
merged 2 commits into from
Feb 1, 2022
Merged

ci: add go-test-setup action #20

merged 2 commits into from
Feb 1, 2022

Conversation

galargh
Copy link

@galargh galargh commented Jan 18, 2022

Requires protocol/.github#289

This PR ensures CGO_ENABLED is set for all the go test calls. It puts mingw64 binaries on PATH for Windows builds (with override to mingw32 for GOARCH=386 via PATH_386 var introduced in protocol/.github#289). Finally, it installs gcc-multilib and libssl-dev:i386 on Linux workers, and sets the desired C compiler for 32 bit machines to i686-w64-mingw32-gcc.

@galargh galargh marked this pull request as ready for review February 1, 2022 08:44
@galargh galargh merged commit 1cac8de into web3-bot/sync Feb 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant