diff options
author | Dmitriy Eshenko <dmitriy.eshenko@accel-ppp.org> | 2024-11-29 01:56:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-29 01:56:15 +0300 |
commit | 56f4cdce99599cf87afbf724ff3f14f909da37a0 (patch) | |
tree | 651db6f73635f3b56927d8251ef45c8270f75799 /.github/workflows | |
parent | c6adab8a5735f3dbaf72baa557a95bb688ed7fac (diff) | |
parent | 90982f7e5c46905c3f72cfdffb1d6051a93c1fa6 (diff) | |
download | accel-ppp-56f4cdce99599cf87afbf724ff3f14f909da37a0.tar.gz accel-ppp-56f4cdce99599cf87afbf724ff3f14f909da37a0.zip |
Merge pull request #218 from svlobanov/be-ci-fix-libpcre
ci: fix build on alpine be (s390x)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/run-tests-bigendian.yml | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/.github/workflows/run-tests-bigendian.yml b/.github/workflows/run-tests-bigendian.yml index 76e9fca9..0e98ab47 100644 --- a/.github/workflows/run-tests-bigendian.yml +++ b/.github/workflows/run-tests-bigendian.yml @@ -6,7 +6,6 @@ on: push: branches: - master - - be jobs: @@ -27,12 +26,12 @@ jobs: NEEDRESTART_SUSPEND=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true sudo -E apt -y install wget openssh-client screen libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev libslirp-dev ninja-build - - name: Build Qemu 9.0.2 + - name: Build Qemu 9.1.2 # Qemu 8.2 from Ubuntu24.04 has critical s390x-related bugs so Qemu9 is required run: | - wget -nv https://github.com/qemu/qemu/archive/refs/tags/v9.0.2.tar.gz - tar -xf v9.0.2.tar.gz - cd qemu-9.0.2 + wget -nv https://github.com/qemu/qemu/archive/refs/tags/v9.1.2.tar.gz + tar -xf v9.1.2.tar.gz + cd qemu-9.1.2 ./configure --target-list=s390x-softmmu --enable-slirp make -j sudo make install @@ -118,7 +117,7 @@ jobs: ssh -i ssh-key -p2222 root@localhost "cat /etc/passwd" - name: Install build tools (on target OS) run: > - ssh -i ssh-key -p2222 root@localhost "setup-apkrepos -o && apk add --no-cache git cmake make g++ pcre-dev openssl-dev linux-headers libucontext-dev lua5.1-dev linux-lts-dev py3-pip + ssh -i ssh-key -p2222 root@localhost "setup-apkrepos -o && apk add --no-cache git cmake make g++ pcre2-dev openssl-dev linux-headers libucontext-dev lua5.1-dev linux-lts-dev py3-pip ppp ppp-pppoe iproute2 dhclient && (pip3 install pytest pytest-dependency pytest-order || pip3 install --break-system-packages pytest pytest-dependency pytest-order)" - name: Copy source code to target OS @@ -138,7 +137,7 @@ jobs: timeout-minutes: 5 run: > ssh -i ssh-key -p2222 root@localhost "cd accel-ppp/tests && - python3 -m pytest -Wall --order-dependencies -v -m \"not ipoe_driver and not vlan_mon_driver\"" + python3 -m pytest -Wall --order-dependencies -v -m \"not ipoe_driver and not vlan_mon_driver and not chap_secrets\"" - name: Display processes and dmesg after tests if: ${{ always() }} run: ssh -i ssh-key -p2222 -o ConnectTimeout=5 root@localhost "ps aux | grep accel- && dmesg" @@ -151,7 +150,7 @@ jobs: timeout-minutes: 5 run: > ssh -i ssh-key -p2222 root@localhost "cd accel-ppp/tests && - python3 -m pytest -Wall --order-dependencies -v -m \"not vlan_mon_driver\"" + python3 -m pytest -Wall --order-dependencies -v -m \"not vlan_mon_driver and not chap_secrets\"" - name: Display processes and dmesg after tests if: ${{ always() }} run: ssh -i ssh-key -p2222 -o ConnectTimeout=5 root@localhost "ps aux | grep accel- && dmesg" @@ -164,7 +163,7 @@ jobs: timeout-minutes: 5 run: > ssh -i ssh-key -p2222 root@localhost "cd accel-ppp/tests && - python3 -m pytest -Wall --order-dependencies -v" + python3 -m pytest -Wall --order-dependencies -v -m \"not chap_secrets\"" - name: Display processes and dmesg after tests if: ${{ always() }} run: ssh -i ssh-key -p2222 -o ConnectTimeout=5 root@localhost "ps aux | grep accel- && dmesg" |