Skip to content

Commit bbb5501

Browse files
committed
before-script-linux needs to handle environment differences
1 parent d222fdb commit bbb5501

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,18 @@ jobs:
5353
args: --release --out dist --find-interpreter
5454
manylinux: 2_28
5555
before-script-linux: |
56-
apt-get update && apt-get install -y cmake g++ \
56+
case "${{ matrix.target }}" in
57+
aarch64) apt-get update && apt-get install -y cmake g++ \
5758
pkg-config libasound2-dev libudev-dev libxkbcommon-x11-0 \
5859
libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev \
5960
libxkbregistry-dev libwayland-client0 libwayland-server0 libwayland-cursor0 \
6061
libwayland-dev libxkbcommon-dev \
61-
wayland-protocols
62+
wayland-protocols ;;
63+
*) dnf -y install cmake gcc-c++ \
64+
pkgconfig alsa-lib-devel systemd-devel \
65+
libX11-devel libXrandr-devel libXinerama-devel libXcursor-devel libXi-devel \
66+
libxkbcommon-devel wayland-devel wayland-protocols-devel ;;
67+
esac
6268
working-directory: crates/processing_pyo3
6369
- uses: actions/upload-artifact@v4
6470
with:

0 commit comments

Comments
 (0)