mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
fix: remove arm64 architecture addition breaking Linux CI build
The dpkg --add-architecture arm64 command causes apt-get update to fail on GitHub Actions runners since they lack arm64 mirror configurations. Cross-compilers are x64 packages that don't require this.
This commit is contained in:
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -41,16 +41,12 @@ jobs:
|
||||
cache: 'npm'
|
||||
|
||||
# Linux: Install build dependencies for native modules and electron-builder
|
||||
# Includes ARM64 cross-compilation support for multi-arch builds
|
||||
# Cross-compilers for ARM64 don't require adding arm64 architecture
|
||||
- name: Install Linux build dependencies
|
||||
if: matrix.platform == 'linux'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libarchive-tools rpm
|
||||
# Add ARM64 architecture for cross-compilation
|
||||
sudo dpkg --add-architecture arm64
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
|
||||
sudo apt-get install -y libarchive-tools rpm gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
|
||||
|
||||
# Windows: Setup for native module compilation
|
||||
- name: Setup Windows build tools
|
||||
|
||||
Reference in New Issue
Block a user