install Cross-Compilation Tools

This commit is contained in:
Abdenasser 2024-11-07 17:08:01 +01:00
parent 17b09e3633
commit 30ddc36e1a

View File

@ -34,6 +34,24 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
sudo apt-get install -y pkg-config-aarch64-linux-gnu
# Install ARM64 versions of GTK and related dependencies
sudo apt-get install -y \
libgtk-3-dev:arm64 \
libayatana-appindicator3-dev:arm64 \
librsvg2-dev:arm64 \
libglib2.0-dev:arm64 \
libjavascriptcoregtk-4.0-dev:arm64 \
libsoup-3.0-dev:arm64 \
libwebkit2gtk-4.1-dev:arm64
- name: Configure Cross-Compilation Environment
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: |
echo "PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig" >> $GITHUB_ENV
echo "PKG_CONFIG_ALLOW_CROSS=1" >> $GITHUB_ENV
echo "PKG_CONFIG_SYSROOT_DIR=/" >> $GITHUB_ENV
echo "PKG_CONFIG=pkg-config-aarch64-linux-gnu" >> $GITHUB_ENV
- name: Install Linux Dependencies
run: |