Skip to content

Commit 15dd3f2

Browse files
committed
wip
1 parent ec4a6e9 commit 15dd3f2

2 files changed

Lines changed: 24 additions & 2 deletions

File tree

.github/workflows/build-mac.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ env:
1313
ARTIFACT_EXT: mac
1414
PLUGINVAL_VER: v1.0.4
1515
VST3_VER: v3.8.0_build_66
16+
CLAP_VER: "1.2.2"
1617
CLAP_VALIDATOR_VER: "0.3.2"
1718

1819
jobs:
@@ -74,11 +75,21 @@ jobs:
7475
unzip tmp/tmp.zip -d tmp
7576
mv tmp/VST2_SDK/* iPlug2/Dependencies/IPlug/VST2_SDK
7677
78+
- name: Cache CLAP SDK
79+
id: cache-clap
80+
uses: actions/cache@v3
81+
with:
82+
path: |
83+
iPlug2/Dependencies/IPlug/CLAP_SDK
84+
iPlug2/Dependencies/IPlug/CLAP_HELPERS
85+
key: ${{runner.os}}-clap-${{env.CLAP_VER}}
86+
7787
- name: Get CLAP SDK
88+
if: steps.cache-clap.outputs.cache-hit != 'true'
7889
shell: bash
7990
run: |
8091
cd iPlug2/Dependencies/IPlug
81-
./download-clap-sdks.sh
92+
./download-clap-sdks.sh ${{env.CLAP_VER}}
8293
8394
- name: Build
8495
shell: bash

.github/workflows/build-win.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212
BUILD_DIR: build-win
1313
ARTIFACT_EXT: win
1414
PLUGINVAL_VER: v1.0.4
15+
CLAP_VER: "1.2.2"
1516
CLAP_VALIDATOR_VER: "0.3.2"
1617

1718
jobs:
@@ -63,11 +64,21 @@ jobs:
6364
unzip tmp/tmp.zip -d tmp
6465
mv tmp/VST2_SDK/* iPlug2/Dependencies/IPlug/VST2_SDK
6566
67+
- name: Cache CLAP SDK
68+
id: cache-clap
69+
uses: actions/cache@v3
70+
with:
71+
path: |
72+
iPlug2/Dependencies/IPlug/CLAP_SDK
73+
iPlug2/Dependencies/IPlug/CLAP_HELPERS
74+
key: ${{runner.os}}-clap-${{env.CLAP_VER}}
75+
6676
- name: Get CLAP SDK
77+
if: steps.cache-clap.outputs.cache-hit != 'true'
6778
shell: bash
6879
run: |
6980
cd iPlug2/Dependencies/IPlug
70-
./download-clap-sdks.sh
81+
./download-clap-sdks.sh ${{env.CLAP_VER}}
7182
7283
- name: Add msbuild to PATH
7384
uses: microsoft/setup-msbuild@v2

0 commit comments

Comments
 (0)