Reorganize top-level directories with clearer naming convention
app -> app-desktop-macos, presets -> app-presets, server -> remote-server, daw-config-reaper -> osc-config-daw, plugin-reaper-realearn -> plugin-reaper-relearn. Updated run.py and presets.py path references accordingly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
name: Build
|
||||
description: Build and optionally Rust code
|
||||
inputs:
|
||||
args:
|
||||
description: 'Cargo arguments'
|
||||
required: false
|
||||
default: ''
|
||||
targets:
|
||||
description: 'Additional Rust targets'
|
||||
required: false
|
||||
default: ''
|
||||
test:
|
||||
description: 'Test?'
|
||||
required: false
|
||||
default: 'true'
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@1.84.0
|
||||
with:
|
||||
targets: ${{ inputs.targets }}
|
||||
|
||||
- name: Set up dependencies
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install nasm php libudev-dev libxdo-dev libx11-dev libxcursor-dev libxcb-dri2-0-dev libxcb-icccm4-dev libx11-xcb-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libspeechd-dev libgtk-3-dev
|
||||
shell: sh
|
||||
- name: Set up dependencies
|
||||
run: brew install php
|
||||
if: runner.os == 'macOS'
|
||||
shell: sh
|
||||
|
||||
- name: Rust cache
|
||||
uses: swatinem/rust-cache@v2
|
||||
|
||||
- name: cargo build
|
||||
env:
|
||||
ARGS: ${{ inputs.args }}
|
||||
run: cargo build $ARGS
|
||||
shell: sh
|
||||
|
||||
- name: cargo test
|
||||
if: ${{ inputs.test == 'true' }}
|
||||
env:
|
||||
RUST_MIN_STACK: 5242880
|
||||
ARGS: ${{ inputs.args }}
|
||||
run: cargo test $ARGS -- --nocapture
|
||||
shell: sh
|
||||
@@ -0,0 +1,30 @@
|
||||
name: Check
|
||||
description: Check Rust code via Clippy
|
||||
inputs:
|
||||
args:
|
||||
description: 'Cargo arguments'
|
||||
required: false
|
||||
default: ''
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@1.84.0
|
||||
with:
|
||||
components: clippy
|
||||
|
||||
- name: Set up dependencies
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install nasm php libudev-dev libxdo-dev libx11-dev libxcursor-dev libxcb-dri2-0-dev libxcb-icccm4-dev libx11-xcb-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libspeechd-dev libgtk-3-dev
|
||||
shell: sh
|
||||
|
||||
- name: Rust cache
|
||||
uses: swatinem/rust-cache@v2
|
||||
|
||||
- name: cargo clippy
|
||||
env:
|
||||
ARGS: ${{ inputs.args }}
|
||||
run: cargo clippy $ARGS -- -D warnings
|
||||
shell: sh
|
||||
@@ -0,0 +1,16 @@
|
||||
name: fmt
|
||||
description: Format Rust code via rustfmt
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@1.84.0
|
||||
with:
|
||||
components: rustfmt
|
||||
|
||||
- name: Rust cache
|
||||
uses: swatinem/rust-cache@v2
|
||||
|
||||
- name: cargo fmt
|
||||
run: cargo fmt --all -- --check
|
||||
shell: sh
|
||||
@@ -0,0 +1,24 @@
|
||||
name: Post-checkout
|
||||
description: Checkout with Playtime Engine
|
||||
inputs:
|
||||
playtime-engine-deploy-key:
|
||||
description: 'Playtime Engine deploy key'
|
||||
required: true
|
||||
license-processor-deploy-key:
|
||||
description: 'License Processor deploy key'
|
||||
required: true
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
# Checkout with Playtime Engine
|
||||
- name: Setup ssh-agent
|
||||
uses: webfactory/ssh-agent@v0.7.0
|
||||
with:
|
||||
ssh-private-key: |
|
||||
${{ inputs.playtime-engine-deploy-key }}
|
||||
${{ inputs.license-processor-deploy-key }}
|
||||
|
||||
- name: Update submodules
|
||||
run: |
|
||||
git submodule update --init
|
||||
shell: sh
|
||||
Reference in New Issue
Block a user