simpliplay-desktop/.circleci/config.yml
Anirudh Sevugan 1f42868161
test all builds
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
2025-07-13 18:43:15 -05:00

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