Skip to content

Commit 7547d35

Browse files
committed
Build Linux arm64 launchers on a GitHub runner
1 parent 9334c06 commit 7547d35

File tree

3 files changed

+7
-49
lines changed

3 files changed

+7
-49
lines changed

.github/scripts/build-linux-aarch64-from-docker.sh

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/scripts/build-linux-aarch64.sh

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -371,24 +371,20 @@ jobs:
371371
path: test-report.xml
372372

373373
generate-linux-arm64-native-launcher:
374-
runs-on: "macOS-m1"
375-
if: github.event_name == 'push'
374+
runs-on: ubuntu-24.04-arm
376375
steps:
377376
- uses: actions/checkout@v4
378377
with:
379378
fetch-depth: 0
380379
submodules: true
381380
- uses: VirtusLab/scala-cli-setup@v1
382381
with:
383-
apps: ""
384-
- name: Generate native launcher and generate os packages
385-
run: .github/scripts/build-linux-aarch64.sh
386-
env:
387-
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
388-
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
382+
jvm: "temurin:17"
383+
- name: Generate native launcher
384+
run: .github/scripts/generate-native-image.sh
389385
- uses: actions/upload-artifact@v4
390386
with:
391-
name: linux-aarch64-launchers
387+
name: linux-arm64-launchers
392388
path: artifacts/
393389
if-no-files-found: error
394390
retention-days: 2
@@ -1733,7 +1729,7 @@ jobs:
17331729
- uses: actions/download-artifact@v4
17341730
if: env.SHOULD_PUBLISH == 'true'
17351731
with:
1736-
name: linux-aarch64-launchers
1732+
name: linux-arm64-launchers
17371733
path: artifacts/
17381734
- uses: actions/download-artifact@v4
17391735
if: env.SHOULD_PUBLISH == 'true'
@@ -1796,7 +1792,7 @@ jobs:
17961792
path: artifacts/
17971793
- uses: actions/download-artifact@v4
17981794
with:
1799-
name: linux-aarch64-launchers
1795+
name: linux-arm64-launchers
18001796
path: artifacts/
18011797
- uses: actions/download-artifact@v4
18021798
with:

0 commit comments

Comments
 (0)