-
-
Notifications
You must be signed in to change notification settings - Fork 81
49 lines (42 loc) · 1.42 KB
/
build-appimage arm64.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Build chiaki-ng Appimage arm64
on:
workflow_dispatch:
jobs:
build-appimage_arm64:
name: Build chiaki-ng appimage_arm64
runs-on: macos-14
steps:
- name: Setup Podman
run: |
curl -LO https://github.com/containers/podman/releases/download/v5.3.1/podman-installer-macos-arm64.pkg
sudo installer -pkg podman-installer-macos-arm64.pkg -target /usr/bin
podman machine init
podman machine start
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: 'recursive'
path: 'chiaki-ng'
- name: Add QmlWebEngine Import
working-directory: chiaki-ng
run: |
cp scripts/qtwebengine_import.qml gui/src/qml/
- name: Run build script
working-directory: chiaki-ng
run: |
set -xe
podman run --rm \
-v "`pwd`:/build/chiaki" \
-w "/build/chiaki" \
--platform linux/arm64 \
--device /dev/fuse \
--cap-add SYS_ADMIN \
-t docker.io/streetpea/chiaki-ng-builder:qt6.7 \
/bin/bash -c "sudo -E scripts/build-appimage.sh /build/appdir"
- name: Upload chiaki-ng Artifact
uses: actions/upload-artifact@v4
with:
name: chiaki-ng.AppImage_arm64
path: chiaki-ng/appimage/chiaki-ng.AppImage
if-no-files-found: error
retention-days: 7