Skip to content

Commit 1d31fd1

Browse files
committed
docker: add arm platforms
1 parent a1506b6 commit 1d31fd1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/docker-bases.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
target: 'gcc'
6060
build-args: 'arch=gcc'
6161
tags: 'devitocodes/bases:cpu-gcc'
62+
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
6263

6364
#######################################################
6465
############## Intel OneApi CPU #######################

.github/workflows/docker-devito.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,29 @@ jobs:
2323
flag: '--gpus all'
2424
test: 'tests/test_gpu_openacc.py tests/test_gpu_common.py'
2525
runner: ["self-hosted", "nvidiagpu"]
26+
platforms: linux/amd64
2627

2728
# Runtime gpu flags from https://hub.docker.com/r/rocm/tensorflow/
2829
- base: 'bases:amd'
2930
tag: 'amd'
3031
flag: '--network=host --device=/dev/kfd --device=/dev/dri --ipc=host --group-add video --group-add $(getent group render | cut -d: -f3) --cap-add=SYS_PTRACE --security-opt seccomp=unconfined'
3132
test: 'tests/test_gpu_openmp.py'
3233
runner: ["self-hosted", "amdgpu"]
34+
platforms: linux/amd64
3335

3436
- base: 'bases:cpu-gcc'
3537
tag: "gcc"
3638
flag: ''
3739
test: 'tests/test_operator.py'
3840
runner: ubuntu-latest
41+
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
3942

4043
- base: 'bases:cpu-icx'
4144
tag: "icx"
4245
flag: ''
4346
test: 'tests/test_operator.py'
4447
runner: ubuntu-latest
48+
platforms: linux/amd64
4549

4650
steps:
4751
- name: Checkout devito
@@ -100,6 +104,7 @@ jobs:
100104
push: true
101105
tags: ${{ steps.meta.outputs.tags }}
102106
build-args: base=devitocodes/${{ matrix.base }}
107+
platforms: ${{ matrix.platforms }}
103108

104109
- name: Remove dangling layers
105110
run: docker system prune -f

0 commit comments

Comments
 (0)