Skip to content

Commit

Permalink
Try build linux/s390x platform in MacOS on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Oct 5, 2023
1 parent c10d0e3 commit 302555a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,25 @@ jobs:
- arm64v8
- ppc64le
- s390x
runs-on: ubuntu-latest
runs-on: ${{ (matrix.arch == 's390x' && 'macos')
|| 'ubuntu' }}-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # for correct image labeling via `git describe --tags`
- name: Setup Docker for MacOS
run: |
set -ex
brew install colima docker docker-buildx
mkdir -p /Users/runner/.docker/cli-plugins/
ln -sfn /usr/local/opt/docker-buildx/bin/docker-buildx \
/Users/runner/.docker/cli-plugins/docker-buildx
colima start
if: ${{ matrix.arch == 's390x' }}
- uses: docker/setup-qemu-action@v3
if: ${{ matrix.arch == 's390x' }}
- uses: docker/setup-buildx-action@v3
if: ${{ matrix.arch != 's390x' }}

- run: make docker.image no-cache=yes
platform=${{ matrix.os }}/${{ matrix.arch }}
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ All user visible changes to this project will be documented in this file. This p



## [3.0.2-node18-r2] · 2023-10-04
## [3.0.2-node18-r2] · 2023-10-05
[3.0.2-node18-r2]: /../../tree/v3.0.2-node18-r2

[Diff](/../../compare/v3.0.2-node18-r1...v3.0.2-node18-r2)
Expand Down

0 comments on commit 302555a

Please sign in to comment.