oe-linux-nfc.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: linux-nfc@lists.01.org
Subject: [neard][PATCH 5/8] ci: add ArchLinux container
Date: Wed, 22 Sep 2021 18:11:10 +0200	[thread overview]
Message-ID: <20210922161113.142758-5-krzysztof.kozlowski@canonical.com> (raw)
In-Reply-To: <20210922161113.142758-1-krzysztof.kozlowski@canonical.com>

[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]

Build in ArchLinux latest container.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 .github/workflows/ci.yml |  1 +
 ci/archlinux.sh          | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100755 ci/archlinux.sh

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index cc977670e380..734969325692 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -23,6 +23,7 @@ jobs:
         compiler: [gcc, clang]
         container:
           - alpine:latest
+          - archlinux:latest
           - debian:testing
           - debian:stable
           # Fails on configure on GCC and clang (process restrictions?)
diff --git a/ci/archlinux.sh b/ci/archlinux.sh
new file mode 100755
index 000000000000..b08069ad2589
--- /dev/null
+++ b/ci/archlinux.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0
+#
+# Copyright (c) 2021 Canonical Ltd.
+# Author: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
+#                             <krzk@kernel.org>
+#
+
+set -ex
+
+PKGS_CC="gcc"
+case $CC in
+	clang*)
+		PKGS_CC="clang"
+	;;
+esac
+
+pacman -Sy --noconfirm \
+	autoconf \
+	autoconf-archive \
+	automake \
+	dbus \
+	glib2 \
+	libnl \
+	libtool \
+	make \
+	pkg-config \
+	$PKGS_CC
+
+echo "Install finished: $0"
-- 
2.30.2

  parent reply	other threads:[~2021-09-22 16:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-22 16:11 [neard][PATCH 1/8] build: adjust configure.ac syntax to match autoupdate Krzysztof Kozlowski
2021-09-22 16:11 ` [neard][PATCH 2/8] build: replace deprecated AC_HELP_STRING Krzysztof Kozlowski
2021-09-22 16:11 ` [neard][PATCH 3/8] ci: switch to dnf on Fedora Krzysztof Kozlowski
2021-09-22 16:11 ` [neard][PATCH 4/8] ci: add more Fedora containers Krzysztof Kozlowski
2021-09-22 16:11 ` Krzysztof Kozlowski [this message]
2021-09-22 16:11 ` [neard][PATCH 6/8] ci: install pkg-config Krzysztof Kozlowski
2021-09-22 16:11 ` [neard][PATCH 7/8] HACKING: rephrase message about dependencies Krzysztof Kozlowski
2021-09-22 16:11 ` [neard][PATCH 8/8] ci: group package installation on Alpine Krzysztof Kozlowski
2021-09-23 15:54 ` [neard][PATCH 1/8] build: adjust configure.ac syntax to match autoupdate Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210922161113.142758-5-krzysztof.kozlowski@canonical.com \
    --to=krzysztof.kozlowski@canonical.com \
    --cc=linux-nfc@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).