Skip to content

Commit

Permalink
chore: added s390x support
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Deekshith Kotakonda <sai.deekshith.kotakonda@ibm.com>
  • Loading branch information
Sai Deekshith Kotakonda authored and hdonnay committed May 8, 2023
1 parent 4f39b31 commit 57774bd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
needs: [config, release-archive]
strategy:
matrix:
goarch: ['arm64', 'amd64', '386', 'ppc64le']
goarch: ['arm64', 'amd64', '386', 'ppc64le', 's390x']
goos: ['linux', 'windows', 'darwin']
exclude:
- goos: darwin
Expand All @@ -117,6 +117,10 @@ jobs:
goarch: 'ppc64le'
- goos: darwin
goarch: 'ppc64le'
- goos: windows
goarch: 's390x'
- goos: darwin
goarch: 's390x'
env:
GOOS: ${{matrix.goos}}
GOARCH: ${{matrix.goarch}}
Expand Down Expand Up @@ -205,7 +209,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
context: ${{ runner.temp }}/build
platforms: linux/amd64,linux/arm64,linux/ppc64le
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
push: true
tags: |
quay.io/${{ needs.config.outputs.image_repo }}:${{ needs.config.outputs.image_tag }}
Expand All @@ -226,7 +230,7 @@ jobs:
needs: [release-archive, release]
strategy:
matrix:
goarch: ['arm64', 'amd64', '386', 'ppc64le']
goarch: ['arm64', 'amd64', '386', 'ppc64le', 's390x']
goos: ['linux', 'windows', 'darwin']
exclude:
- goos: darwin
Expand All @@ -239,6 +243,10 @@ jobs:
goarch: ppc64le
- goos: windows
goarch: ppc64le
- goos: windows
goarch: 's390x'
- goos: darwin
goarch: 's390x'
steps:
- name: Fetch Archive
uses: actions/download-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
matrix:
go: ${{ fromJSON(needs.config.outputs.go_versions) }}
# Put non-amd64 platforms that should run tests here:
platform: ['linux/arm64', 'linux/ppc64le']
platform: ['linux/arm64', 'linux/ppc64le', 'linux/s390x']
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/go-cache
Expand Down

0 comments on commit 57774bd

Please sign in to comment.