From a96d9fd328b022c7a4687e39802f5cf090e37ec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Commaret?= Date: Sun, 18 Jan 2026 15:50:11 +0100 Subject: [PATCH] Add GitHub Actions workflow for macOS ARM64 builds --- .github/workflows/build-darwin-arm64.yml | 44 ++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/build-darwin-arm64.yml diff --git a/.github/workflows/build-darwin-arm64.yml b/.github/workflows/build-darwin-arm64.yml new file mode 100644 index 00000000..cced2a5a --- /dev/null +++ b/.github/workflows/build-darwin-arm64.yml @@ -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/