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