commit: 494eda4feab6c334636b20cbd36bd44f063d49b6 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> AuthorDate: Thu Dec 31 03:25:30 2020 +0000 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> CommitDate: Thu Dec 31 03:25:30 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=494eda4f
.github/workflows: add repoman check this is gonna make the build fail again... i'm sorry Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> .github/workflows/repoman.yml | 34 ++++++++++++++++++++++++++++++++++ README.md | 7 ++++--- 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/.github/workflows/repoman.yml b/.github/workflows/repoman.yml new file mode 100644 index 000000000..b50ed7b79 --- /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.12.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.0 /etc/portage/make.profile + - name: Test with repoman + run: | + python3 portage-portage-3.0.12/repoman/bin/repoman full -dx diff --git a/README.md b/README.md index aea88eae8..d2bbf2fe9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # The [Gentoo Science Project](https://wiki.gentoo.org/wiki/Project:Science) Repository - -[](https://github.com/gentoo/sci/issues) +[](https://github.com/gentoo/sci/actions?query=workflow%3Apkgcheck) +[](https://github.com/gentoo/sci/actions?query=workflow%3Arepoman) +[](https://github.com/gentoo/sci#guide) [](https://webchat.freenode.net/#gentoo-science) <table> @@ -21,7 +22,7 @@ The Gentoo [developer manual](https://devmanual.gentoo.org/) take precedence ove 1. [Installation and usage](#install) - [Manual](#install-manual) - [Layman](#install-layman) -2. [Contributor guidelies](#guide) +2. [Contributor guidelines](#guide) </td> </tr>
