Skip to content

Commit

Permalink
Update all.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DBraun committed Apr 5, 2024
1 parent 1b5ffdd commit 71a89a5
Showing 1 changed file with 50 additions and 50 deletions.
100 changes: 50 additions & 50 deletions .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,55 +13,55 @@ on:
- '*'
jobs:

build-windows:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- { name: "win64", os: "windows-2022", python-version: "3.9", python-major: "39"}
- { name: "win64", os: "windows-2022", python-version: "3.11", python-major: "311"}
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2

- name: Get CMake
uses: lukka/get-cmake@latest

- name: Download Libfaust
shell: cmd
run: |
cd thirdparty/libfaust
python download_libfaust.py
# build-windows:
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# include:
# - { name: "win64", os: "windows-2022", python-version: "3.9", python-major: "39"}
# - { name: "win64", os: "windows-2022", python-version: "3.11", python-major: "311"}
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true

# - name: Setup Python
# uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}

# - name: Add msbuild to PATH
# uses: microsoft/setup-msbuild@v2

# - name: Get CMake
# uses: lukka/get-cmake@latest

# - name: Download Libfaust
# shell: cmd
# run: |
# cd thirdparty/libfaust
# python download_libfaust.py

- name: Build TD-Faust
shell: cmd
run: |
python build_tdfaust.py --pythonver=${{ matrix.python-version}}
- name: Build Reverb operator
shell: cmd
run: |
set PATH=%CD%/thirdparty/libfaust/win64/Release/bin;%PATH%
python faust2td.py --dsp reverb.dsp --type "Reverb" --label "Reverb" --icon "Rev" --author "David Braun" --email "github.com/DBraun" --drop-prefix
- name: Make distribution
run: |
Remove-Item -Recurse -Force "${{ github.workspace }}/Plugins/faustlibraries/.git"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: TD-Faust-${{ matrix.name }}-Python${{ matrix.python-major }}
path: Plugins
# - name: Build TD-Faust
# shell: cmd
# run: |
# python build_tdfaust.py --pythonver=${{ matrix.python-version}}

# - name: Build Reverb operator
# shell: cmd
# run: |
# set PATH=%CD%/thirdparty/libfaust/win64/Release/bin;%PATH%
# python faust2td.py --dsp reverb.dsp --type "Reverb" --label "Reverb" --icon "Rev" --author "David Braun" --email "github.com/DBraun" --drop-prefix

# - name: Make distribution
# run: |
# Remove-Item -Recurse -Force "${{ github.workspace }}/Plugins/faustlibraries/.git"

# - name: Upload artifact
# uses: actions/upload-artifact@v4
# with:
# name: TD-Faust-${{ matrix.name }}-Python${{ matrix.python-major }}
# path: Plugins

build-macos:
strategy:
Expand All @@ -87,7 +87,7 @@ jobs:

- name: Install Certificate
run: |
echo "$MACOS_CERTIFICATE" | base64 --decode > certificate.p12
echo $MACOS_CERTIFICATE | base64 --decode > certificate.p12
security create-keychain -p "" build.keychain
security default-keychain -s build.keychain
security unlock-keychain -p "" build.keychain
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:

create-release:
if: startsWith(github.ref, 'refs/tags/v')
needs: [build-windows, build-macos]
needs: [build-macos]
runs-on: ubuntu-latest
name: "Create Release on GitHub"
steps:
Expand Down

0 comments on commit 71a89a5

Please sign in to comment.