Files
cdba/ci/debian.i386.sh
Krzysztof Kozlowski 432e9b2192 ci: add basic Github Actions Continuous Integration builds
Add Continuous Integration using Github actions, re-using similar setup
from linux-nfc/neard [1] (dropped Alpine, Ubuntu i386, sanitizers and
few others action steps).  Since I copied most files, I retained all
original copyrights.

The CI will build cdba for several different distros and architectures.

[1] https://github.com/linux-nfc/neard

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2023-05-07 13:33:20 -05:00

29 lines
615 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
#
# Copyright (c) 2018-2020 Petr Vorel <pvorel@suse.cz>
# Copyright (c) 2021 Canonical Ltd.
# Copyright (c) 2023 Linaro Ltd
# Author: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
# <krzk@kernel.org>
#
set -ex
dpkg --add-architecture i386
apt update
# gcc-multilib are also needed for clang 32-bit builds
PKGS_CC="gcc-multilib"
apt install -y --no-install-recommends \
linux-libc-dev:i386
apt install -y --no-install-recommends \
libftdi-dev:i386 \
libudev-dev:i386 \
libyaml-dev:i386 \
$PKGS_CC
echo "Install finished: $0"