Skip to content

Bump autd3-driver from 27.0.0-alpha.1 to 27.0.0-alpha.3 #50

Bump autd3-driver from 27.0.0-alpha.1 to 27.0.0-alpha.3

Bump autd3-driver from 27.0.0-alpha.1 to 27.0.0-alpha.3 #50

Workflow file for this run

name: build
on:
push:
branches:
- 'develop'
pull_request:
types: [opened, reopened, review_requested]
jobs:
check-src:
runs-on: ubuntu-latest
name: check if server files changed
outputs:
status: ${{ steps.changed-files.outputs.modified_files }}
steps:
- uses: actions/checkout@v4
- uses: tj-actions/changed-files@v42
id: changed-files
with:
files: |
.github/actions/setup-build/action.yml
.github/workflows/build.yml
./**/*.rs
./**/*.toml
./**/*.ts
./**/*.svelte
./package.json
build-server:
needs: check-src
name: build-server
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup
if: needs.check-src.outputs.status
uses: ./.github/actions/setup-build
with:
os: ${{ matrix.os }}
- name: install dependencies (ubuntu only)
if: needs.check-src.outputs.status && matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev librsvg2-dev
- name: Sync node version and setup cache
if: needs.check-src.outputs.status
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'npm'
cache-dependency-path: package-lock.json
- name: build server
if: needs.check-src.outputs.status
run: |
python3 build.py build