2 parents 997dca6 + dc50cf0 commit 00c5c81Copy full SHA for 00c5c81
1 file changed
.github/workflows/release.yml
@@ -97,6 +97,11 @@ jobs:
97
sudo apt-get update
98
sudo apt-get install -y python3-setuptools
99
100
+ - name: Install ARM64 cross-compilation tools (Linux ARM64 only)
101
+ if: matrix.os == 'ubuntu-latest' && matrix.arch == 'arm64'
102
+ run: |
103
+ sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
104
+
105
- name: Setup Python (macOS)
106
if: matrix.os == 'macos-latest'
107
uses: actions/setup-python@v4
@@ -108,6 +113,9 @@ jobs:
108
113
env:
109
114
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
110
115
CSC_IDENTITY_AUTO_DISCOVERY: false
116
+ # For ARM64 cross-compilation on x64 runner
117
+ npm_config_arch: ${{ matrix.arch }}
118
+ npm_config_target_arch: ${{ matrix.arch }}
111
119
112
120
- name: List dist directory
121
run: ls -la dist/
0 commit comments