mirror of
https://github.com/linux-msm/cdba.git
synced 2026-02-25 13:11:56 -08:00
ci: add alpine tests
I plan to package CDBA in alpine, as it uses musl libc it is a lot easier for things to break there. Add alpine latest edge and stable build tests to catch these. Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -32,6 +32,8 @@ jobs:
|
||||
family: [x86-64]
|
||||
compiler: [gcc, clang]
|
||||
container:
|
||||
- alpine:edge
|
||||
- alpine:latest
|
||||
- archlinux:latest
|
||||
- debian:testing
|
||||
- debian:stable
|
||||
|
||||
29
ci/alpine.sh
Executable file
29
ci/alpine.sh
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
#
|
||||
# Copyright (c) 2021 Canonical Ltd.
|
||||
# Copyright (c) 2023 Linaro Ltd
|
||||
# Author: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
|
||||
# <krzk@kernel.org>
|
||||
#
|
||||
|
||||
set -ex
|
||||
|
||||
PKGS_CC="gcc"
|
||||
case $CC in
|
||||
clang*)
|
||||
PKGS_CC="clang"
|
||||
;;
|
||||
esac
|
||||
|
||||
apk add \
|
||||
linux-headers \
|
||||
libftdi1-dev \
|
||||
yaml-dev \
|
||||
eudev-dev \
|
||||
meson \
|
||||
musl-dev \
|
||||
libc-dev \
|
||||
$PKGS_CC
|
||||
|
||||
echo "Install finished: $0"
|
||||
Reference in New Issue
Block a user