From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BD64D1382C5 for ; Fri, 12 Mar 2021 18:45:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F031EE0A9F; Fri, 12 Mar 2021 18:45:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D2FA6E0A8F for ; Fri, 12 Mar 2021 18:45:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 62189340CFB for ; Fri, 12 Mar 2021 18:45:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B982046C for ; Fri, 12 Mar 2021 18:45:42 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1615574616.70f43f014c838897b0e9e25048337e1a62815ca6.sam@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: .github/workflows/ X-VCS-Repository: proj/musl X-VCS-Files: .github/workflows/main.yml .github/workflows/repoman.yml X-VCS-Directories: .github/workflows/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 70f43f014c838897b0e9e25048337e1a62815ca6 X-VCS-Branch: master Date: Fri, 12 Mar 2021 18:45:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cd8d2530-6a69-4451-8f66-aeb9bc2bcf68 X-Archives-Hash: a0da9ae39060750566c1d1c0ee05298f commit: 70f43f014c838897b0e9e25048337e1a62815ca6 Author: Sam James gentoo org> AuthorDate: Fri Mar 12 18:43:36 2021 +0000 Commit: Sam James gentoo org> CommitDate: Fri Mar 12 18:43:36 2021 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=70f43f01 *: Add GitHub Actions for pkgcheck, repoman Signed-off-by: Sam James gentoo.org> .github/workflows/main.yml | 17 +++++++++++++++++ .github/workflows/repoman.yml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..735537a --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,17 @@ +name: pkgcheck + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Run pkgcheck + uses: pkgcore/pkgcheck-action@v1 diff --git a/.github/workflows/repoman.yml b/.github/workflows/repoman.yml new file mode 100644 index 0000000..f7a30db --- /dev/null +++ b/.github/workflows/repoman.yml @@ -0,0 +1,34 @@ +name: repoman + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.9 + uses: actions/setup-python@v2 + with: + python-version: 3.9 + - name: Setup repoman + run: | + python -m pip install --upgrade pip + pip install lxml pyyaml + wget -qO - "https://github.com/gentoo/portage/archive/portage-3.0.16.tar.gz" | tar xz + sudo groupadd -g 250 portage + sudo useradd -g portage -d /var/tmp/portage -s /bin/false -u 250 portage + - name: Setup master gentoo repository + run: | + sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles + wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1 + sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd + sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf + sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile + - name: Test with repoman + run: | + python3 portage-*/repoman/bin/repoman full -dx