diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3779bfa..15ea69b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,8 @@ jobs: family: [x86-64] compiler: [gcc, clang] container: + - alpine:edge + - alpine:latest - archlinux:latest - debian:testing - debian:stable diff --git a/ci/alpine.sh b/ci/alpine.sh new file mode 100755 index 0000000..c4b5083 --- /dev/null +++ b/ci/alpine.sh @@ -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 +# +# + +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"