Compare commits

..

1 Commits

Author SHA1 Message Date
9d75b810f7 Switch gitea actions 2025-01-11 23:12:54 +01:00

View File

@@ -12,67 +12,60 @@ jobs:
- name: Test - name: Test
run: tox run: tox
testRockylinux8: testRockylinux8:
runs-on: rockylinux8 - name: Check out repository code
steps: uses: actions/checkout@v3
- name: add ca - name: add ca
run: | run: |
curl -o /etc/pki/ca-trust/source/anchors/ca-marceln.org.crt \ curl -o /etc/pki/ca-trust/source/anchors/ca-marceln.org.crt \
https://marceln.org/ca-marceln.org.crt https://marceln.org/ca-marceln.org.crt
update-ca-trust update-ca-trust
- name: Update yum conf - name: Update yum conf
run: "/usr/bin/sed -i -e \ run: "/usr/bin/sed -i -e \
's@#baseurl=http://dl.rockylinux.org/$contentdir@\ 's@#baseurl=http://dl.rockylinux.org/$contentdir@\
baseurl=https://rock64.fritz.box/nluug/os/Linux/distr/rocky@' \ baseurl=https://rock64.fritz.box/nluug/os/Linux/distr/rocky@' \
-e 's@^mirrorlist=https@#mirrorlist=https@' \ -e 's@^mirrorlist=https@#mirrorlist=https@' \
$(grep -l '#baseurl=http://dl.rockylinux.org/$contentdir' \ $(grep -l '#baseurl=http://dl.rockylinux.org/$contentdir' \
/etc/yum.repos.d/*)" /etc/yum.repos.d/*)"
- name: Setup - name: Setup
run: | run: |
dnf install -y git nodejs \ dnf install git nodejs \
python36 python38 python39 python3.11 python3.12 \ python36 python38 python39 python3.11 python3.12 \
python3.11-pip python3.12-pip python3.11-pip python3.12-pip
pip-3 install tox pip-3 install tox
- name: Check out repository code - name: Test
uses: actions/checkout@v3 run: tox -e py36,py38,py39,p311
- name: Test
run: tox -e py36,py38,py39,py311
testRockylinux9: testRockylinux9:
runs-on: rockylinux9 - name: Check out repository code
steps: uses: actions/checkout@v3
- name: add ca - name: add ca
run: | run: |
curl -o /etc/pki/ca-trust/source/anchors/ca-marceln.org.crt \ curl -o /etc/pki/ca-trust/source/anchors/ca-marceln.org.crt \
https://marceln.org/ca-marceln.org.crt https://marceln.org/ca-marceln.org.crt
update-ca-trust update-ca-trust
- name: Update yum conf - name: Update yum conf
run: "/usr/bin/sed -i -e \ run: "/usr/bin/sed -i -e \
's@#baseurl=http://dl.rockylinux.org/$contentdir@\ 's@#baseurl=http://dl.rockylinux.org/$contentdir@\
baseurl=https://rock64.fritz.box/nluug/os/Linux/distr/rocky@' \ baseurl=https://rock64.fritz.box/nluug/os/Linux/distr/rocky@' \
-e 's@^mirrorlist=https@#mirrorlist=https@' \ -e 's@^mirrorlist=https@#mirrorlist=https@' \
$(grep -l '#baseurl=http://dl.rockylinux.org/$contentdir' \ $(grep -l '#baseurl=http://dl.rockylinux.org/$contentdir' \
/etc/yum.repos.d/*)" /etc/yum.repos.d/*)"
- name: Setup - name: Setup
run: | run: |
dnf install -y git nodejs \ dnf install git nodejs \
python39 python3.11 python3.12 \ python39 python3.11 python3.12 \
python3-pip python3.11-pip python3.12-pip python3-pip python3.11-pip python3.12-pip
pip-3 install tox pip-3 install tox
- name: Check out repository code - name: Test
uses: actions/checkout@v3 run: tox -e py39,py311,py312
- name: Test
run: tox -e py39,py311,py312
testUbuntu22: testUbuntu22:
runs-on: ubuntu-22.04 - name: Check out repository code
steps: uses: actions/checkout@v3
- name: Setup - name: Setup
run: | run: |
apt update apt update
apt install -y git nodejs python3 python3-pip tox apt install git nodejs python3 python3-pip tox
pip - name: Test
- name: Check out repository code run: tox -e py310
uses: actions/checkout@v3
- name: Test
run: tox -e py310
buildAndPublish: buildAndPublish:
needs: [testFedoraBuilder, testRocky8, testRocky9, testUbuntu22] needs: [testFedoraBuilder, testRocky8, testRocky9, testUbuntu22]
runs-on: fedora-builder runs-on: fedora-builder