Skip to content

Commit

Permalink
fixing aarch64 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdenasser committed Nov 7, 2024
1 parent 0cbe3a4 commit a215ef9
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/linux-aarch64-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,18 @@ jobs:
- name: Install Dependencies
run: npm install

- name: Configure pkg-config for Cross-Compilation
- name: Setup pkg-config for ARM64
run: |
sudo apt-get install -y pkg-config-aarch64-linux-gnu
sudo apt-get install -y crossbuild-essential-arm64 pkg-config
# Create the pkg-config wrapper for aarch64
sudo tee /usr/bin/aarch64-linux-gnu-pkg-config << 'EOF'
#!/bin/sh
export PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig
exec pkg-config "$@"
EOF
sudo chmod +x /usr/bin/aarch64-linux-gnu-pkg-config
echo "PKG_CONFIG=/usr/bin/aarch64-linux-gnu-pkg-config" >> $GITHUB_ENV
echo "PKG_CONFIG_ALLOW_CROSS=1" >> $GITHUB_ENV
echo "PKG_CONFIG_ALLOW_CROSS=1" >> $GITHUB_ENV
- name: Build Frontend
run: npm run build
Expand Down

0 comments on commit a215ef9

Please sign in to comment.