actions / setup-go

Set up your GitHub Actions workflow with a specific version of Go
MIT License
1.41k stars 531 forks source link

Add ppc64le support #436

Open shahidhs-ibm opened 1 year ago

shahidhs-ibm commented 1 year ago

Description: This PR will add support for ppc64le architecture. Official Go binaries are published for linux-ppc64, linux-ppc64le and aix-ppc64 variants. All these variants are being taken care of in the changes.

Related issue: NA

Check list:

shahidhs-ibm commented 1 year ago

Can someone kindly review and let me know your comments.

gucinmilan commented 1 year ago

???

pon, 30. okt 2023. 12:51 Shahid @.***> је написао/ла:

Can someone kindly review and let me know your comments.

— Reply to this email directly, view it on GitHub https://github.com/actions/setup-go/pull/436#issuecomment-1785024300, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWVV7LKJIRSGKDRY6ZMLSJDYB6IFNAVCNFSM6AAAAAA6HBMQOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBVGAZDIMZQGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

shahidhs-ibm commented 12 months ago

Any update?

shahidhs-ibm commented 10 months ago

As per comment, tried with go versions >= 1.21 on self-hosted ppc64le runners but issue is still getting reproduced.

Getting following error logs in runner :

Run actions/setup-go@v4
Setup go version spec 1.21
Attempting to download 1.21...
matching 1.21...
Not found in manifest.  Falling back to download directly from Go
Install from dist
Acquiring go1.21.5 from https://storage.googleapis.com/golang/go1.21.5.linux-ppc64.tar.gz
Extracting Go...
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /opt/runner/_work/_temp/8a636f71-1358-4c04-b32f-6d996622f25d -f /opt/runner/_work/_temp/cbd160e3-ff36-4941-b1de-7f7381d28e15
Successfully extracted go to /opt/runner/_work/_temp/8a636f71-1358-4c04-b32f-6d996622f25d
Adding to the cache ...
Successfully cached go to /opt/runner/_work/_tool/go/1.21.5/ppc64
Added go to the path
Successfully set up Go version 1.21
/bin/sh: 1: go: Exec format error

So this PR is still valid.