Skip to content

Commit

Permalink
Fixup CI
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Dec 13, 2024
1 parent c1ef624 commit 34ba411
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 24 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ jobs:
strategy:
matrix:
os:
# wrong use of AU MIDIPacket
# - macos-12
# - macos-13
# - macos-14
- macos-13
- macos-14
- macos-15
# webgui failure
# - ubuntu-20.04
- ubuntu-22.04
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,49 +42,49 @@ jobs:
suffix: _24_04
target: ${{ matrix.target }}

macos-12:
macos-13:
strategy:
matrix:
target: [macos-intel, macos-universal, macos-10.15]
runs-on: macos-12
runs-on: macos-13
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: distrho/dpf-cmake-action@v1
with:
dpf_path: .
suffix: _12
suffix: _13
target: ${{ matrix.target }}

macos-13:
macos-14:
strategy:
matrix:
target: [macos-intel, macos-universal, macos-10.15]
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: distrho/dpf-cmake-action@v1
with:
dpf_path: .
suffix: _13
suffix: _14
target: ${{ matrix.target }}

macos-14:
macos-15:
strategy:
matrix:
target: [macos-intel, macos-universal, macos-10.15]
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: distrho/dpf-cmake-action@v1
with:
dpf_path: .
suffix: _14
suffix: _15
target: ${{ matrix.target }}

cmake_win32:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/example-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,47 +39,47 @@ jobs:
suffix: _24_04
target: ${{ matrix.target }}

macos-12:
macos-13:
strategy:
matrix:
target: [macos-intel, macos-universal, macos-10.15]
runs-on: macos-12
runs-on: macos-13
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: distrho/dpf-makefile-action@v1
with:
dpf_path: .
suffix: _12
suffix: _13
target: ${{ matrix.target }}

macos-13:
macos-14:
strategy:
matrix:
target: [macos-intel, macos-universal, macos-10.15]
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: distrho/dpf-makefile-action@v1
with:
dpf_path: .
suffix: _13
suffix: _14
target: ${{ matrix.target }}

macos-14:
macos-15:
strategy:
matrix:
target: [macos-intel, macos-universal, macos-10.15]
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: distrho/dpf-makefile-action@v1
with:
dpf_path: .
suffix: _14
suffix: _15
target: ${{ matrix.target }}
7 changes: 5 additions & 2 deletions distrho/src/DistrhoPluginAU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,12 @@ typedef std::vector<PropertyListener> PropertyListeners;
typedef std::vector<RenderListener> RenderListeners;

#if DISTRHO_PLUGIN_WANT_MIDI_OUTPUT
static_assert(sizeof(MIDIPacket) == sizeof(MIDITimeStamp) + sizeof(UInt16), "data size correct");
static_assert(sizeof(MIDIPacketList) == sizeof(UInt32), "data size correct");

// useful definitions
static constexpr const uint32_t kMIDIPacketNonDataSize = sizeof(MIDIPacket) - sizeof(MIDIPacket::data);
static constexpr const uint32_t kMIDIPacketListNonDataSize = sizeof(MIDIPacketList) - sizeof(MIDIPacketList::packet);
static constexpr const uint32_t kMIDIPacketNonDataSize = sizeof(MIDIPacket); // - sizeof(MIDIPacket::data)
static constexpr const uint32_t kMIDIPacketListNonDataSize = sizeof(MIDIPacketList); // - sizeof(MIDIPacketList::packet)

// size of data used for midi events
static constexpr const uint32_t kMIDIPacketListMaxDataSize = kMIDIPacketNonDataSize * kMaxMidiEvents
Expand Down

0 comments on commit 34ba411

Please sign in to comment.