-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update remaining actions to build docs locally
- Loading branch information
Showing
4 changed files
with
52 additions
and
14 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,36 @@ | ||
name: 'Build FluCoMa Toolkit for Max' | ||
description: 'Builds the FluCoMa Toolkit for Max' | ||
inputs: | ||
branch: | ||
description: 'Which branch to pull flucoma dependencies from (main/dev)' | ||
required: true | ||
default: 'dev' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: setup python setup | ||
uses: actions/setup-python@v3 | ||
id: py39 | ||
with: | ||
python-version: '3.9' | ||
|
||
- name: Get Max Source | ||
run: git clone --recursive https://github.com/Cycling74/max-sdk.git sdk | ||
shell: bash | ||
|
||
- name: Install (Mac/Linux) | ||
if: runner.os == 'macOS' | ||
run: | | ||
cmake -GNinja -DMAX_SDK_PATH=../sdk -DFLUID_PATH=../core -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" .. | ||
cmake -GNinja -DMAX_SDK_PATH=../sdk -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DDOCS=ON -DFLUID_BRANCH=${{ inputs.branch }} -DPython_ROOT_DIR=${{ env.pythonLocation }} .. | ||
pip install -r _deps/flucoma-docs-src/requirements.txt | ||
ninja install | ||
working-directory: build | ||
shell: bash | ||
|
||
- name: Install (Windows) | ||
if: runner.os == 'Windows' | ||
run: | | ||
cmake -DMAX_SDK_PATH="../sdk" -DFLUID_PATH="../core" .. | ||
cmake -DMAX_SDK_PATH="../sdk" .. | ||
cmake --build . --target install --config Release | ||
working-directory: build | ||
shell: cmd | ||
shell: cmd |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,37 @@ | ||
name: 'Build FluCoMa Toolkit for SuperCollider' | ||
description: 'Builds the FluCoMa Toolkit for SuperCollider' | ||
inputs: | ||
branch: | ||
description: 'Which branch to pull flucoma dependencies from (main/dev)' | ||
required: true | ||
default: 'dev' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: setup python setup | ||
uses: actions/setup-python@v3 | ||
id: py39 | ||
with: | ||
python-version: '3.9' | ||
|
||
- name: Get SuperCollider Source | ||
run: git clone --recursive https://github.com/supercollider/supercollider.git sdk | ||
shell: bash | ||
|
||
- name: Install (Mac/Linux) | ||
if: runner.os == 'macOS' || runner.os == 'Linux' | ||
run: | | ||
cmake -GNinja -DSC_PATH=../sdk -DFLUID_PATH=../core .. | ||
cmake -GNinja -DSC_PATH=../sdk -DDOCS=ON -DFLUID_BRANCH=${{ inputs.branch }} -DPython_ROOT_DIR=${{ env.pythonLocation }} .. | ||
pip install -r _deps/flucoma-docs-src/requirements.txt | ||
ninja install | ||
working-directory: build | ||
shell: bash | ||
|
||
- name: Install (Windows) | ||
if: runner.os == 'Windows' | ||
run: | | ||
cmake -DSC_PATH="../sdk" -DFLUID_PATH="../core" .. | ||
cmake -DSC_PATH="../sdk" -DDOCS=ON -DFLUID_BRANCH=${{ inputs.branch }} -DPython_ROOT_DIR=${{ env.pythonLocation }} .. | ||
pip install -r _deps/flucoma-docs-src/requirements.txt | ||
cmake --build . --target install --config Release | ||
working-directory: build | ||
shell: cmd | ||
shell: cmd |