Skip to content

Build chiaki-ng Appimage arm64 #12

Build chiaki-ng Appimage arm64

Build chiaki-ng Appimage arm64 #12

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 Docker
run: |
brew update
brew install docker
open -a Docker
- 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 -e
docker 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