Skip to content

Commit 4c4e950

Browse files
authored
Update build.yml
Add linux arm 64 builds
1 parent d298b3f commit 4c4e950

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

Diff for: .github/workflows/build.yml

+16-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
- 'static/**'
1717
- '*.md'
1818
tags:
19-
- '[0-9]+.[0-9]+.[0-9]+*'
19+
- '[0-9]+.[0-9]+.[0-9]+*'
2020
workflow_dispatch:
2121
inputs:
2222
paid-runners:
@@ -133,6 +133,16 @@ env:
133133
name: macOS_arm64_dmg
134134
- path: '*macOS_arm64.zip'
135135
name: macOS_arm64_zip
136+
- config:
137+
name: ARM Ubuntu 22.04
138+
runs-on: ubuntu-22.04-arm
139+
container: |
140+
null
141+
job-transfer-artifact-suffix: ARM_64bit
142+
mergeable-channel-file: 'false'
143+
artifacts:
144+
- path: '*ARM_64bit.tar.gz'
145+
name: ARM_64bit_tarball
136146
PAID_RUNNER_BUILD_DATA: |
137147
# This system was implemented to allow selective use of paid GitHub-hosted runners, due to the Apple Silicon runner
138148
# incurring a charge at that time. Free Apple Silicon runners are now available so the configuration was moved to
@@ -289,7 +299,7 @@ jobs:
289299
# to skip passing signing credentials to electron-builder
290300
IS_WINDOWS_CONFIG: ${{ matrix.config.name == 'Windows' }}
291301
INSTALLER_CERT_WINDOWS_CER: "/tmp/cert.cer"
292-
# We are hardcoding the path for signtool because is not present on the windows PATH env var by default.
302+
# We are hardcoding the path for signtool because it is not present on the Windows PATH env var by default.
293303
# Keep in mind that this path could change when upgrading to a new runner version
294304
SIGNTOOL_PATH: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/signtool.exe"
295305
WIN_CERT_PASSWORD: ${{ secrets[matrix.config.certificate-password-secret] }}
@@ -308,6 +318,10 @@ jobs:
308318
timeout-minutes: 90
309319

310320
steps:
321+
- name: Install Chromium (ARM only)
322+
if: matrix.config.name == 'ARM Ubuntu 22.04'
323+
run: sudo apt-get update && sudo apt-get install -y chromium-browser
324+
311325
- name: Symlink custom working directory
312326
shell: cmd
313327
if: runner.os == 'Windows' && matrix.config.working-directory
@@ -317,7 +331,6 @@ jobs:
317331
- name: Checkout
318332
uses: actions/checkout@v4
319333

320-
321334
- name: Install Node.js
322335
if: runner.name != 'WINDOWS-SIGN-PC'
323336
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)