From 04f83b65f25037da89dbb86ec0296a4ba81dca92 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Thu, 13 Jul 2023 14:51:43 +0200 Subject: [PATCH 1/2] ci: run builds periodically Without big development activity, thus workflows triggered on changes, CI builds might never run. In the same time distros actually change, so things can get be broken due to external (distro) reasons. This is especially true for development versions, like Debian testing. Run at least once per week, to be sure everything still builds even without development activity. Signed-off-by: Krzysztof Kozlowski --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0eede7e..b1345b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,13 @@ # https://github.com/linux-nfc/neard # name: "Builds" -on: [push, pull_request, workflow_dispatch] +on: + pull_request: + push: + schedule: + # Run at 1:01 PM, every Tuesday + - cron: '1 13 * * 2' + workflow_dispatch: jobs: job: From 2c2e9d46b4412b689f2a375728fc00dbda43448b Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Sun, 27 Aug 2023 11:52:59 +0200 Subject: [PATCH 2/2] ci: fix Arch Linux GLIBC_2.38 not found Arch Linux builds can fail if system is not upgraded while installing new packages, probably due to mismatched libraries: clang: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libstdc++.so.6) Signed-off-by: Krzysztof Kozlowski --- ci/archlinux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/archlinux.sh b/ci/archlinux.sh index f6a31fc..d128922 100755 --- a/ci/archlinux.sh +++ b/ci/archlinux.sh @@ -16,7 +16,7 @@ case $CC in ;; esac -pacman -Sy --noconfirm \ +pacman -Syu --noconfirm \ libftdi-compat \ libyaml \ systemd-libs \