mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
Add GitHub Actions workflow for macOS ARM64 builds
This commit is contained in:
parent
7e57d601b8
commit
a96d9fd328
1 changed files with 44 additions and 0 deletions
44
.github/workflows/build-darwin-arm64.yml
vendored
Normal file
44
.github/workflows/build-darwin-arm64.yml
vendored
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
name: Build Void for macOS (ARM64)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Build React
|
||||
run: npm run buildreact
|
||||
|
||||
- name: Start watch mode
|
||||
run: npm run watch &
|
||||
env:
|
||||
NODE_ENV: development
|
||||
|
||||
- name: Wait for build to complete
|
||||
run: sleep 300
|
||||
|
||||
- name: Build for macOS ARM64
|
||||
run: npm run gulp vscode-darwin-arm64
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: void-darwin-arm64
|
||||
path: out-vscode/
|
||||
Loading…
Reference in a new issue