Skip to content

Commit

Permalink
Merge pull request #9 from stevenhorsman/CC-main
Browse files Browse the repository at this point in the history
s390x: initial enabler
  • Loading branch information
stevenhorsman authored Dec 13, 2022
2 parents 4cd4473 + 59062b6 commit dcb9b1c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ jobs:
goarch: ppc64le
- goos: linux
goarch: riscv64
- goos: linux
goarch: s390x
- goos: freebsd
goarch: amd64
- goos: freebsd
Expand Down Expand Up @@ -185,6 +187,11 @@ jobs:
echo "CGO_ENABLED=1" >> $GITHUB_ENV
echo "CC=riscv64-linux-gnu-gcc" >> $GITHUB_ENV
;;
linux/s390x)
packages+=" crossbuild-essential-s390x"
echo "CGO_ENABLED=1" >> $GITHUB_ENV
echo "CC=s390x-linux-gnu-gcc" >> $GITHUB_ENV
;;
windows/arm/v7)
echo "CGO_ENABLED=0" >> $GITHUB_ENV
;;
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
platform: linux/arm64
- ubuntu: 18.04
platform: linux/ppc64le
- ubuntu: 18.04
platform: linux/s390x
# riscv64 isn't supported by Ubuntu 18.04
- ubuntu: 22.04
platform: linux/riscv64
Expand Down

0 comments on commit dcb9b1c

Please sign in to comment.