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 1c15a36
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,21 @@ 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 and Docker Compose
run: |
brew install colima docker
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

0 comments on commit 1c15a36

Please sign in to comment.