Skip to content

Commit

Permalink
Merge pull request accel-ppp#218 from svlobanov/be-ci-fix-libpcre
Browse files Browse the repository at this point in the history
ci: fix build on alpine be (s390x)
  • Loading branch information
DmitriyEshenko authored Nov 28, 2024
2 parents c6adab8 + 90982f7 commit 56f4cdc
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/run-tests-bigendian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
push:
branches:
- master
- be

jobs:

Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"

0 comments on commit 56f4cdc

Please sign in to comment.