Merge pull request #97 from quic-bjorande/for-linux-msm/ci-fixes

For linux msm/ci fixes
This commit is contained in:
Dmitry Baryshkov authored and GitHub committed 2026-07-05 21:52:38 +03:00
commit e6dcfc57df
8 files changed
+15 -26

No files matched your search

+1 -17
View File
@@ -39,18 +39,10 @@ jobs:
- debian:stable
- debian:bookworm
- debian:bullseye
- debian:buster
# Fails on configure on GCC and clang (process restrictions?)
# - fedora:rawhide
- fedora:latest
- fedora:42
- fedora:41
- fedora:40
- fedora:39
- fedora:38
- fedora:37
- ubuntu:latest
- ubuntu:oracular
- ubuntu:noble
- ubuntu:jammy
- ubuntu:focal
@@ -86,14 +78,6 @@ jobs:
pkg_config_path: /usr/lib/i386-linux-gnu/pkgconfig
variant: i386
- container: "debian:buster"
arch: i386
family: x86
compiler: gcc -m32
cross_compile: i686-linux-gnu
pkg_config_path: /usr/lib/i386-linux-gnu/pkgconfig
variant: i386
# Debian cross compilation builds
- container: "debian:testing"
arch: armhf
@@ -183,7 +167,7 @@ jobs:
echo "PKG_CONFIG_PATH: $PKG_CONFIG_PATH"
- name: Git checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Install additional packages
run: |
+2 -1
View File
@@ -193,7 +193,8 @@ static void cdba_queue_data(int type, size_t len, const void *buf)
item->type = type;
item->len = len;
item->fd = -1;
memcpy(item->payload, buf, len);
if (len)
memcpy(item->payload, buf, len);
list_append(&tx_queue, &item->node);
}
+1
View File
@@ -17,6 +17,7 @@ case $CC in
esac
apk add \
build-base \
linux-headers \
libftdi1-dev \
yaml-dev \
+2 -1
View File
@@ -19,7 +19,8 @@ dpkg --add-architecture $ARCH
apt update
apt install -y --no-install-recommends \
libftdi-dev:${ARCH} \
libc6-dev:${ARCH} \
libftdi1-dev:${ARCH} \
libudev-dev:${ARCH} \
libyaml-dev:${ARCH} \
libgpiod-dev:${ARCH} \
+1 -1
View File
@@ -20,7 +20,7 @@ apt install -y --no-install-recommends \
linux-libc-dev:i386
apt install -y --no-install-recommends \
libftdi-dev:i386 \
libftdi1-dev:i386 \
libudev-dev:i386 \
libyaml-dev:i386 \
libgpiod-dev:i386 \
+1 -1
View File
@@ -29,7 +29,7 @@ esac
apt install -y --no-install-recommends \
pkg-config \
libftdi-dev \
libftdi1-dev \
libudev-dev \
libyaml-dev \
libgpiod-dev \
+1 -1
View File
@@ -25,7 +25,7 @@ int local_gpio_init(struct local_gpio *local_gpio)
int i;
for (i = 0; i < GPIO_COUNT; ++i) {
struct gpiod_line_request_config cfg;
struct gpiod_line_request_config cfg = { 0 };
if (!local_gpio->options->gpios[i].present)
continue;
+6 -4
View File
@@ -59,10 +59,12 @@ cdbalib_deps = [dependency('libudev', required: server_opt),
gpiod_dep,
ftdi_dep]
# E.g. Debian reuires -lutil for forkpty
if not compiler.has_function('forkpty')
util_dep = compiler.find_library('util')
cdbalib_deps += util_dep
# E.g. Debian requires -lutil for forkpty
if not compiler.has_function('forkpty', prefix: '#include <pty.h>')
util_dep = compiler.find_library('util', required: false)
if util_dep.found()
cdbalib_deps += util_dep
endif
endif
drivers_srcs = ['drivers/alpaca.c',