Attempt to build both targets #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
pull_request: | |
jobs: | |
build-arm: | |
runs-on: macos-15 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
run: npm ci | |
- name: Build arm artifact | |
run: npm run build:module:arm | |
- name: Upload arm artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: arm-artifact | |
path: aperture-arm.node | |
build-x86: | |
runs-on: macos-15-large | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
run: npm ci | |
- name: Build x86 artifact | |
run: npm run build:module:x86 | |
- name: Upload arm artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: x86-artifact | |
path: aperture-x86.node |