Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ env:
DISPLAY: :0 # linux pluginval needs this
HOMEBREW_NO_INSTALL_CLEANUP: 1
SCCACHE_GHA_ENABLED: true
SCCACHE_GHA_VERSION: 2 # bump this to purge cache
SCCACHE_CACHE_MULTIARCH: 1
IPP_DIR: C:\Program Files (x86)\Intel\oneAPI\ipp\latest\lib\cmake\ipp

defaults:
run:
Expand All @@ -38,11 +38,10 @@ jobs:
- name: Linux
os: ubuntu-22.04
pluginval-binary: ./pluginval
extra-flags: -G Ninja
- name: macOS
os: macos-14
pluginval-binary: pluginval.app/Contents/MacOS/pluginval
extra-flags: -G Ninja -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"
extra-flags: -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"
- name: Windows
os: windows-latest
pluginval-binary: ./pluginval.exe
Expand Down Expand Up @@ -93,7 +92,7 @@ jobs:
uses: mozilla-actions/sccache-action@v0.0.9

- name: Configure
run: cmake -B ${{ env.BUILD_DIR }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache ${{ matrix.extra-flags }} .
run: cmake -B ${{ env.BUILD_DIR }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -G Ninja ${{ matrix.extra-flags }} .

- name: Build
run: cmake --build ${{ env.BUILD_DIR }} --config ${{ env.BUILD_TYPE }}
Expand Down Expand Up @@ -134,10 +133,22 @@ jobs:
dev-id-installer-cert: ${{ secrets.DEV_ID_INSTALLER_CERT }}
dev-id-installer-password: ${{ secrets.DEV_ID_INSTALLER_PASSWORD }}

- name: Codesign (macOS)
- name: Strip symbols and Codesign (macOS)
if: ${{ matrix.name == 'macOS' }}
timeout-minutes: 5
run: |
# Store debug symbols to use with symbolicatecrash
dsymutil "${{ env.VST3_PATH }}/Contents/MacOS/${{ env.PRODUCT_NAME }}" -o vst3.dSYM
dsymutil "${{ env.AU_PATH }}/Contents/MacOS/${{ env.PRODUCT_NAME }}" -o au.dSYM
dsymutil "${{ env.CLAP_PATH }}/Contents/MacOS/${{ env.PRODUCT_NAME }}" -o clap.dSYM
dsymutil "${{ env.STANDALONE_PATH }}/Contents/MacOS/${{ env.PRODUCT_NAME }}" -o standalone.dSYM

# Strip the binaries, you can test via `nm -s __TEXT __text MyApp.app/Contents/MacOS/MyApp`
strip -x "${{ env.VST3_PATH }}/Contents/MacOS/${{ env.PRODUCT_NAME }}"
strip -x "${{ env.AU_PATH }}/Contents/MacOS/${{ env.PRODUCT_NAME }}"
strip -x "${{ env.CLAP_PATH }}/Contents/MacOS/${{ env.PRODUCT_NAME }}"
strip -x "${{ env.STANDALONE_PATH }}/Contents/MacOS/${{ env.PRODUCT_NAME }}"

# Each plugin must be code signed
codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION}}" -v "${{ env.VST3_PATH }}" --deep --strict --options=runtime --timestamp
codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION}}" -v "${{ env.AU_PATH }}" --deep --strict --options=runtime --timestamp
Expand Down Expand Up @@ -188,11 +199,12 @@ jobs:
working-directory: ${{ env.ARTIFACTS_PATH }}
run: 7z a -tzip "${{ env.ARTIFACT_NAME }}.zip" "-xr!lib${{ env.PRODUCT_NAME }}_SharedCode.a" .

- name: Generate Installer
- name: Strip symbols and Generate Installer
if: ${{ matrix.name == 'Windows' }}
run: |
iscc "packaging\installer.iss"
mv "packaging/Output/${{ env.ARTIFACT_NAME }}.exe" "${{ env.ARTIFACTS_PATH }}/"
dumpbin /symbols "${{ env.ARTIFACTS_PATH }}/${{ env.ARTIFACT_NAME }}.exe" 2>&1 | grep -v '^no symbols$' | grep -q . && { echo "❌ stray symbols!"; exit 1; } || { echo "✅ clean"; exit 0; }

- name: Codesign with Azure Trusted Signing
if: ${{ matrix.name == 'Windows' }}
Expand Down
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ set(BUNDLE_ID "com.pamplejuce.pamplejuce")
# Valid choices: AAX Unity VST VST3 AU AUv3 Standalone
set(FORMATS Standalone AU VST3 AUv3)

# Force JUCE to work with sccache
# instruct MSVC to embed debug info (/Z7) instead of emitting a .pdb
set(CMAKE_POLICY_DEFAULT_CMP0141 NEW CACHE STRING "" FORCE)
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT Embedded CACHE STRING "" FORCE)

# For simplicity, the name of the CMake project is also the name of the target
project(${PROJECT_NAME} VERSION ${CURRENT_VERSION})

Expand Down
2 changes: 1 addition & 1 deletion JUCE
Submodule JUCE updated 33 files
+64 −0 BREAKING_CHANGES.md
+2 −1 examples/DemoRunner/Source/Main.cpp
+10 −1 extras/Build/CMake/JUCEUtils.cmake
+91 −10 modules/juce_audio_processors/processors/juce_AudioProcessorGraph.cpp
+3 −1 modules/juce_core/native/juce_JNIHelpers_android.h
+17 −23 modules/juce_core/native/juce_Network_mac.mm
+42 −36 modules/juce_core/time/juce_Time.cpp
+3 −3 modules/juce_graphics/detail/juce_SimpleShapedText.cpp
+4 −1 modules/juce_graphics/native/juce_Direct2DImage_windows.cpp
+31 −12 modules/juce_gui_basics/components/juce_FocusTraverser.cpp
+22 −0 modules/juce_gui_basics/components/juce_FocusTraverser.h
+11 −7 modules/juce_gui_basics/detail/juce_FocusHelpers.h
+4 −2 modules/juce_gui_basics/keyboard/juce_KeyboardFocusTraverser.cpp
+43 −32 modules/juce_gui_basics/menus/juce_PopupMenu.cpp
+1 −1 modules/juce_gui_basics/native/accessibility/juce_Accessibility_android.cpp
+25 −34 modules/juce_gui_basics/native/java/app/com/rmsl/juce/ComponentPeerView.java
+9 −1 modules/juce_gui_basics/native/javaopt/app/com/rmsl/juce/JuceActivity.java
+976 −897 modules/juce_gui_basics/native/juce_Windowing_android.cpp
+164 −79 modules/juce_gui_basics/native/juce_Windowing_windows.cpp
+10 −6 modules/juce_gui_basics/widgets/juce_Slider.h
+97 −40 modules/juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp
+6 −6 modules/juce_opengl/juce_opengl.cpp
+0 −18 modules/juce_opengl/native/java/app/com/rmsl/juce/JuceOpenGLView.java
+118 −116 modules/juce_opengl/native/juce_OpenGL_android.h
+3 −0 modules/juce_opengl/native/juce_OpenGL_ios.h
+3 −0 modules/juce_opengl/native/juce_OpenGL_linux.h
+3 −0 modules/juce_opengl/native/juce_OpenGL_mac.h
+3 −0 modules/juce_opengl/native/juce_OpenGL_windows.h
+36 −12 modules/juce_opengl/opengl/juce_OpenGLContext.cpp
+1 −0 modules/juce_opengl/opengl/juce_OpenGLContext.h
+430 −231 modules/juce_opengl/opengl/juce_OpenGLFrameBuffer.cpp
+14 −11 modules/juce_opengl/opengl/juce_OpenGLFrameBuffer.h
+4 −2 modules/juce_opengl/opengl/juce_OpenGLImage.cpp
2 changes: 1 addition & 1 deletion cmake
Loading