Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add multiarch testing #1334

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions .github/workflows/10-alpine3.10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,28 @@ jobs:
build:
name: 10 on alpine3.10
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson('{"arch":["amd64","arm32v6","arm32v7","arm64v8","i386","ppc64le","s390x"]}')}}
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install bats
- run: ./test-build.sh 10 alpine3.10
- name: Checkout
uses: actions/checkout@v2

- name: Install bats
run: sudo apt-get install bats

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Write experimental docker flag
run: |
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json

- name: Restart docker daemon
run: sudo systemctl restart docker

- name: Build and test
run: ./test-build.sh 10 alpine3.10 ${{ matrix.arch }}
27 changes: 24 additions & 3 deletions .github/workflows/10-alpine3.11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,28 @@ jobs:
build:
name: 10 on alpine3.11
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson('{"arch":["amd64","arm32v6","arm32v7","arm64v8","i386","ppc64le","s390x"]}')}}
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install bats
- run: ./test-build.sh 10 alpine3.11
- name: Checkout
uses: actions/checkout@v2

- name: Install bats
run: sudo apt-get install bats

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Write experimental docker flag
run: |
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json

- name: Restart docker daemon
run: sudo systemctl restart docker

- name: Build and test
run: ./test-build.sh 10 alpine3.11 ${{ matrix.arch }}
27 changes: 24 additions & 3 deletions .github/workflows/10-alpine3.9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,28 @@ jobs:
build:
name: 10 on alpine3.9
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson('{"arch":["amd64","arm32v6","arm32v7","arm64v8","i386","ppc64le","s390x"]}')}}
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install bats
- run: ./test-build.sh 10 alpine3.9
- name: Checkout
uses: actions/checkout@v2

- name: Install bats
run: sudo apt-get install bats

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Write experimental docker flag
run: |
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json

- name: Restart docker daemon
run: sudo systemctl restart docker

- name: Build and test
run: ./test-build.sh 10 alpine3.9 ${{ matrix.arch }}
27 changes: 24 additions & 3 deletions .github/workflows/10-buster-slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,28 @@ jobs:
build:
name: 10 on buster-slim
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson('{"arch":["amd64","arm32v7","arm64v8","ppc64le","s390x"]}')}}
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install bats
- run: ./test-build.sh 10 buster-slim
- name: Checkout
uses: actions/checkout@v2

- name: Install bats
run: sudo apt-get install bats

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Write experimental docker flag
run: |
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json

- name: Restart docker daemon
run: sudo systemctl restart docker

- name: Build and test
run: ./test-build.sh 10 buster-slim ${{ matrix.arch }}
27 changes: 24 additions & 3 deletions .github/workflows/10-buster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,28 @@ jobs:
build:
name: 10 on buster
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson('{"arch":["amd64","arm32v7","arm64v8","ppc64le","s390x"]}')}}
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install bats
- run: ./test-build.sh 10 buster
- name: Checkout
uses: actions/checkout@v2

- name: Install bats
run: sudo apt-get install bats

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Write experimental docker flag
run: |
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json

- name: Restart docker daemon
run: sudo systemctl restart docker

- name: Build and test
run: ./test-build.sh 10 buster ${{ matrix.arch }}
27 changes: 24 additions & 3 deletions .github/workflows/10-stretch-slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,28 @@ jobs:
build:
name: 10 on stretch-slim
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson('{"arch":["amd64","arm32v7","arm64v8"]}')}}
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install bats
- run: ./test-build.sh 10 stretch-slim
- name: Checkout
uses: actions/checkout@v2

- name: Install bats
run: sudo apt-get install bats

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Write experimental docker flag
run: |
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json

- name: Restart docker daemon
run: sudo systemctl restart docker

- name: Build and test
run: ./test-build.sh 10 stretch-slim ${{ matrix.arch }}
27 changes: 24 additions & 3 deletions .github/workflows/10-stretch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,28 @@ jobs:
build:
name: 10 on stretch
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson('{"arch":["amd64","arm32v7","arm64v8"]}')}}
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install bats
- run: ./test-build.sh 10 stretch
- name: Checkout
uses: actions/checkout@v2

- name: Install bats
run: sudo apt-get install bats

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Write experimental docker flag
run: |
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json

- name: Restart docker daemon
run: sudo systemctl restart docker

- name: Build and test
run: ./test-build.sh 10 stretch ${{ matrix.arch }}
27 changes: 24 additions & 3 deletions .github/workflows/12-alpine3.10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,28 @@ jobs:
build:
name: 12 on alpine3.10
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson('{"arch":["amd64","arm32v6","arm32v7","arm64v8","i386","ppc64le","s390x"]}')}}
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install bats
- run: ./test-build.sh 12 alpine3.10
- name: Checkout
uses: actions/checkout@v2

- name: Install bats
run: sudo apt-get install bats

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Write experimental docker flag
run: |
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json

- name: Restart docker daemon
run: sudo systemctl restart docker

- name: Build and test
run: ./test-build.sh 12 alpine3.10 ${{ matrix.arch }}
27 changes: 24 additions & 3 deletions .github/workflows/12-alpine3.11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,28 @@ jobs:
build:
name: 12 on alpine3.11
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson('{"arch":["amd64","arm32v6","arm32v7","arm64v8","i386","ppc64le","s390x"]}')}}
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install bats
- run: ./test-build.sh 12 alpine3.11
- name: Checkout
uses: actions/checkout@v2

- name: Install bats
run: sudo apt-get install bats

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Write experimental docker flag
run: |
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json

- name: Restart docker daemon
run: sudo systemctl restart docker

- name: Build and test
run: ./test-build.sh 12 alpine3.11 ${{ matrix.arch }}
27 changes: 24 additions & 3 deletions .github/workflows/12-alpine3.12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,28 @@ jobs:
build:
name: 12 on alpine3.12
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson('{"arch":["amd64","arm32v6","arm32v7","arm64v8","i386","ppc64le","s390x"]}')}}
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install bats
- run: ./test-build.sh 12 alpine3.12
- name: Checkout
uses: actions/checkout@v2

- name: Install bats
run: sudo apt-get install bats

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Write experimental docker flag
run: |
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json

- name: Restart docker daemon
run: sudo systemctl restart docker

- name: Build and test
run: ./test-build.sh 12 alpine3.12 ${{ matrix.arch }}
27 changes: 24 additions & 3 deletions .github/workflows/12-alpine3.9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,28 @@ jobs:
build:
name: 12 on alpine3.9
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson('{"arch":["amd64","arm32v6","arm32v7","arm64v8","i386","ppc64le","s390x"]}')}}
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install bats
- run: ./test-build.sh 12 alpine3.9
- name: Checkout
uses: actions/checkout@v2

- name: Install bats
run: sudo apt-get install bats

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Write experimental docker flag
run: |
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json

- name: Restart docker daemon
run: sudo systemctl restart docker

- name: Build and test
run: ./test-build.sh 12 alpine3.9 ${{ matrix.arch }}
27 changes: 24 additions & 3 deletions .github/workflows/12-buster-slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,28 @@ jobs:
build:
name: 12 on buster-slim
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson('{"arch":["amd64","arm32v7","arm64v8","ppc64le","s390x"]}')}}
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install bats
- run: ./test-build.sh 12 buster-slim
- name: Checkout
uses: actions/checkout@v2

- name: Install bats
run: sudo apt-get install bats

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Write experimental docker flag
run: |
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json

- name: Restart docker daemon
run: sudo systemctl restart docker

- name: Build and test
run: ./test-build.sh 12 buster-slim ${{ matrix.arch }}
Loading