Skip to content

ci: Enforce pinned pip dependencies #768

ci: Enforce pinned pip dependencies

ci: Enforce pinned pip dependencies #768

Workflow file for this run

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
fetch-depth: 0
- name: Build and test
uses: uraimo/run-on-arch-action@5397f9e30a9b62422f302092631c99ae1effcd9e # v2.8.1
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