Skip to content

Commit

Permalink
Get pipeline running on other oses
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Dec 23, 2024
1 parent 0f943db commit 6c40900
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 21 deletions.
35 changes: 16 additions & 19 deletions .github/workflows/build-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,12 @@ jobs:
name: windows-x64
cmake_args: -G"Visual Studio 17 2022" -A x64

#- os: windows-latest
# name: windows-arm64ec
# cmake_args: -G"Visual Studio 17 2022" -A arm64ec -DAWCO_ARM64EC=TRUE -DCMAKE_SYSTEM_VERSION=10
- os: macos-latest
name: macos
cmake_args: -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"

#- os: macos-latest
# name: macos
# cmake_args: -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"

#- os: ubuntu-latest
# name: linux-x64
- os: ubuntu-latest
name: linux-x64

steps:
- name: Checkout code
Expand Down Expand Up @@ -78,11 +74,17 @@ jobs:
#export MAC_SIGNING_TEAM="${{ secrets.MAC_SIGNING_TEAM }}"

cmake -S . -B ./build ${{ matrix.cmake_args }} -DCMAKE_BUILD_TYPE=Release
cmake --build ./build --config Release --target six-sines_standalone six-sines_clap --parallel 3
cmake --build ./build --config Release --target six-sines_all --parallel 3

- name: Make windows zie
if: github.event_name != 'pull_request' && runner.os == 'Windows'
mkdir build/inst
mkdir build/insttmp
mv build/CLAP/Release/*.clap build/insttmp
mv build/Release/*.exe build/insttmp

ls -lR ./build/inst

7z a -r build/inst/windows-`git rev-parse --short HEAD`-nightly.zip build/insttmp/*

- name: Configure pull request version
Expand All @@ -93,20 +95,15 @@ jobs:
- name: Build pull request version
if: github.event_name == 'pull_request'
run: |
cmake --build ./build --config Debug --target six-sines_standalone six-sines_clap --parallel 3
mkdir build/inst
mkdir build/insttmp
mv build/CLAP/Debug/*.clap build/insttmp
mv build/Debug/*.exe build/insttmp
7z a -r build/inst/windows-`git rev-parse --short HEAD`-nightly.zip build/insttmp/*
cmake --build ./build --config Debug --target six-sines_all --parallel 3
- name: Show Build Directory
- name: Find all the six sines
run: |
ls -lR ./build/inst
find build -name "Six Sines*" -print
- name: Upload artifact
uses: actions/upload-artifact@v4
if: runner.os == 'Windows'
with:
path: build/inst
name: dawplugin-${{ matrix.name }}
Expand Down
10 changes: 9 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,13 @@ target_add_standalone_wrapper(TARGET ${sat}
STATICALLY_LINKED_CLAP_ENTRY True
PLUGIN_ID "org.baconpaul.six-sines")


add_custom_target(${PROJECT_NAME}_all)
add_dependencies(${PROJECT_NAME}_all
${PROJECT_NAME}_clap
${PROJECT_NAME}_standalone
${PROJECT_NAME}_vst3
)
if (APPLE)
add_dependencies(${PROJECT_NAME}_all ${PROJECT_NAME}_auv2)
endif()

4 changes: 3 additions & 1 deletion doc/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ Macros and MIDI
Other ToDos
- Envelope Rate Linear to 2x provider
- General UI
- Voice Manager has Mono and Mono Legato mode - turn them on?
- Interpolate ratio across the block in source
- Max voice count
- Portamento
- Patch to XML

Installer
- mac signing
Expand Down

0 comments on commit 6c40900

Please sign in to comment.