Skip to content

Update package building #77

Update package building

Update package building #77

Workflow file for this run

name: Build
on:
push:
branches: '*'
workflow_dispatch:
jobs:
build-macos:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-13, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: setup appdmg
run: |
python3 -m pip install setuptools
npm install -g [email protected]
- name: install dependencies
run: npm ci
- name: build
run: npm run make
build-windows:
runs-on: windows-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: install dependencies
run: npm ci
- name: build
run: npm run make
build-ubuntu:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libusb-1.0-0-dev
version: 1.0
- name: install dependencies
run: npm ci
- name: build
run: npm run make