mirror of
https://github.com/A-Star100/simpliplay-desktop.git
synced 2025-09-17 22:29:38 +00:00

We now use CircleCI instead of GH Actions for *.snap builds for Linux ARM64, to resolve the limitations of Actions for multipass/LXD. Once Actions solves this, we will migrate back there
35 lines
858 B
YAML
35 lines
858 B
YAML
version: 2.1
|
|
|
|
jobs:
|
|
build_arm64_linux:
|
|
docker:
|
|
- image: circleci/node:22 # Node.js 22 on ARM64
|
|
platform: linux/arm64
|
|
working_directory: ~/simpliplay-desktop/simpliplay # working dir to repo/code dir
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: Install dependencies
|
|
command: npm install
|
|
- run:
|
|
name: Install snapcraft
|
|
command: sudo snap install snapcraft --classic
|
|
- run:
|
|
name: Build Snap and AppImage (ARM64)
|
|
command: npx electron-builder --linux --arm64
|
|
|
|
# Store .snap artifacts
|
|
- store_artifacts:
|
|
path: dist/*.snap
|
|
destination: snaps
|
|
|
|
# Store .AppImage artifacts
|
|
- store_artifacts:
|
|
path: dist/*.AppImage
|
|
destination: appimages
|
|
|
|
workflows:
|
|
build_and_test:
|
|
jobs:
|
|
- build_arm64_linux
|