Skip to content

Commit 45647d3

Browse files
author
Levent KARAGÖL
committed
test.yml has been updated
1 parent 9402903 commit 45647d3

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,22 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
include:
19-
- architecture: x86_64
20-
container: ubuntu:22.04
21-
- architecture: aarch64
22-
container: arm64v8/ubuntu:22.04
23-
24-
container:
25-
image: ${{ matrix.container }}
18+
architecture: [x86_64, aarch64]
2619

2720
steps:
28-
- name: Checkout the repository
29-
uses: actions/checkout@v3
21+
- uses: actions/checkout@v3
22+
23+
- name: Set up QEMU
24+
if: matrix.architecture == 'aarch64'
25+
uses: docker/setup-qemu-action@v1
26+
with:
27+
platforms: all
28+
29+
- name: Set up Docker Buildx
30+
uses: docker/setup-buildx-action@v1
31+
32+
- name: Available platforms
33+
run: echo ${{ steps.buildx.outputs.platforms }}
3034

3135
- name: Install prerequisites
3236
run: |

0 commit comments

Comments
 (0)