forked from eclipse-wakaama/wakaama
-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (41 loc) · 1.25 KB
/
multiarch.yaml
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
36
37
38
39
40
41
42
43
44
name: Foreign architectures
on: [push, pull_request]
jobs:
multiarch:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
arch: ["armv6", "armv7", "aarch64", "s390x", "ppc64le"]
steps:
- name: Checkout code including full history and submodules
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Build and test
uses: uraimo/[email protected]
id: runcmd
with:
arch: ${{ matrix.arch }}
distro: bookworm
githubToken: ${{ github.token }}
install: |
apt update
apt -qy --no-install-recommends install \
automake \
build-essential \
cmake \
git \
libcunit1-dev \
ninja-build \
pkg-config \
unzip \
wget \
;
run: |
# Mark submodule as safe directory to prevent error because of code
# getting built by root (inside QEMU) but checked out by a non-root
# user (host system).
git config --global --add safe.directory "${PWD}/examples/shared/tinydtls"
tools/ci/run_ci.sh --run-build --run-tests