This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
Use latest operator-sdk version #115
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Cross compilation" | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- '**.md' | |
- '.wordlist.txt' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- '.wordlist.txt' | |
jobs: | |
cross-compile: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
Arch: [ppc64le, s390x, arm64] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Go-Setup | |
uses: actions/[email protected] | |
with: | |
go-version: 1.20.4 | |
- name: Build | |
env: | |
GOARCH: ${{matrix.Arch}} | |
run: | | |
V=1 TANG_OPERATOR_CI=1 GOOS=$(go env GOOS) GOARCH=$GOARCH GOPATH=$(go env GOPATH) make build |