-
Notifications
You must be signed in to change notification settings - Fork 169
35 lines (35 loc) · 954 Bytes
/
compat-32bit.yml
File metadata and controls
35 lines (35 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: check 32-bit compatibility
on:
push:
branches:
- master
workflow_dispatch:
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform:
- name: linux/386
tag: x86
- name: linux/arm/v7
tag: armv7
steps:
- uses: actions/checkout@v6
- uses: docker/setup-qemu-action@v4
- uses: docker/setup-buildx-action@v4
- name: build
uses: docker/build-push-action@v7
with:
platforms: ${{matrix.platform.name}}
target: debian
tags: vanetza/docker:${{matrix.platform.tag}}
context: ${{github.workspace}}/tools/docker
load: true
- name: execute tests
run: >
docker run --rm
--platform ${{matrix.platform.name}}
-v${{github.workspace}}:/home/build-user/workspace:ro
vanetza/docker:${{matrix.platform.tag}}