Skip to content

Commit e291089

Browse files
authored
Update build.yml
1 parent 9fed4fb commit e291089

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/build.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ env:
101101
name: Linux_X86-64_zip
102102
- path: '*Linux_64bit.AppImage'
103103
name: Linux_X86-64_app_image
104+
- path: '*Linux_64bit.rpm'
105+
name: Linux_X86-64_rpm
104106
- config:
105107
name: macOS x86
106108
runs-on: macos-13
@@ -145,6 +147,8 @@ env:
145147
name: Linux_arm64_zip
146148
- path: '*Linux_arm64.AppImage'
147149
name: Linux_arm64_app_image
150+
- path: '*Linux_arm64.rpm'
151+
name: Linux_arm64_rpm
148152
PAID_RUNNER_BUILD_DATA: |
149153
# This system was implemented to allow selective use of paid GitHub-hosted runners, due to the Apple Silicon runner
150154
# incurring a charge at that time. Free Apple Silicon runners are now available so the configuration was moved to
@@ -311,7 +315,14 @@ jobs:
311315
- name: Install Chromium (ARM only)
312316
if: matrix.config.name == 'ARM Ubuntu 22.04'
313317
run: sudo apt-get update && sudo apt-get install -y chromium-browser
314-
318+
319+
- name: Ensure fpm works on ARM64
320+
if: matrix.config.name == 'ARM Ubuntu 22.04'
321+
run: |
322+
sudo apt-get update
323+
sudo apt-get install -y ruby ruby-dev
324+
sudo gem install fpm
325+
echo "USE_SYSTEM_FPM=true" >> $GITHUB_ENV
315326
- name: Symlink custom working directory
316327
shell: cmd
317328
if: runner.os == 'Windows' && matrix.config.working-directory

0 commit comments

Comments
 (0)