diff --git a/env/action.yaml b/env/action.yaml index df556e3..87feac9 100644 --- a/env/action.yaml +++ b/env/action.yaml @@ -13,9 +13,9 @@ runs: run: mkdir -p build shell: bash - - name: Clone core repository at HEAD of dev - run: git clone --branch ${{ inputs.branch }} https://github.com/flucoma/flucoma-core.git core - shell: bash + # - name: Clone core repository at HEAD of dev + # run: git clone --branch ${{ inputs.branch }} https://github.com/flucoma/flucoma-core.git core + # shell: bash - name: Install ninja (Windows) if: runner.os == 'Windows' @@ -31,4 +31,3 @@ runs: if: runner.os == 'Linux' run: sudo apt-get install ninja-build shell: bash - diff --git a/max/action.yaml b/max/action.yaml index 7712101..77f76c7 100644 --- a/max/action.yaml +++ b/max/action.yaml @@ -1,8 +1,19 @@ 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 @@ -10,7 +21,8 @@ runs: - 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 @@ -18,7 +30,7 @@ runs: - 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 \ No newline at end of file + shell: cmd diff --git a/pd/action.yaml b/pd/action.yaml index b8a1a8d..f007e61 100644 --- a/pd/action.yaml +++ b/pd/action.yaml @@ -1,8 +1,19 @@ name: 'Build FluCoMa Toolkit for PureData' description: 'Builds the FluCoMa Toolkit for PureData' +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 PureData Source (Mac/Linux) if: runner.os == 'macOS' || runner.os == 'Linux' run: git clone https://github.com/pure-data/pure-data.git sdk @@ -18,7 +29,8 @@ runs: - name: Install Mac if: runner.os == 'macOS' run: | - cmake -GNinja -DPD_PATH=../sdk -DFLUID_PATH=../core -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" .. + cmake -GNinja -DPD_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 @@ -26,7 +38,8 @@ runs: - name: Install Linux if: runner.os == 'Linux' run: | - cmake -GNinja -DPD_PATH=../sdk -DFLUID_PATH=../core .. + cmake -GNinja -DPD_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 @@ -34,7 +47,8 @@ runs: - name: Install (Windows) if: runner.os == 'Windows' run: | - cmake cmake -DPD_PATH="../pd-0.52-1" -DFLUID_PATH="../core" .. + cmake cmake -DPD_PATH="../pd-0.52-1" -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 \ No newline at end of file + shell: cmd diff --git a/sc/action.yaml b/sc/action.yaml index 7873c7b..c9ae782 100644 --- a/sc/action.yaml +++ b/sc/action.yaml @@ -1,8 +1,19 @@ 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 @@ -10,7 +21,8 @@ runs: - 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 @@ -18,7 +30,8 @@ runs: - 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 \ No newline at end of file + shell: cmd