fixing linux workflows

This commit is contained in:
Abdenasser 2024-11-07 17:18:53 +01:00
parent a6f6c8b6ee
commit 4dead5feed

View File

@ -33,6 +33,12 @@ jobs:
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: |
sudo dpkg --add-architecture arm64
# Add ARM64 repositories
sudo tee /etc/apt/sources.list.d/arm64.list << EOF
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy main restricted
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted
EOF
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
# Install ARM64 versions of GTK and related dependencies