Skip to content

Commit 1ac1f57

Browse files
committed
Add jack-example-tools, fixup CI
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 636a893 commit 1ac1f57

File tree

3 files changed

+23
-13
lines changed

3 files changed

+23
-13
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ jobs:
1414
macos:
1515
runs-on: macos-10.15
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1818
with:
1919
submodules: recursive
2020
- name: Set up cache
21-
uses: actions/cache@v2
21+
uses: actions/cache@v3
22+
id: cache
2223
with:
2324
path: |
2425
~/PawPawBuilds
@@ -32,12 +33,13 @@ jobs:
3233
./PawPaw/bootstrap-jack2.sh macos && ./PawPaw/bootstrap-qt.sh macos && ./PawPaw/.cleanup.sh macos
3334
- name: Build macOS intel
3435
shell: bash
36+
if: steps.cache.outputs.cache-hit == 'true'
3537
run: |
3638
./pack-jack2-version.sh macos
3739
- name: Set sha8
3840
id: slug
3941
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
40-
- uses: actions/upload-artifact@v2
42+
- uses: actions/upload-artifact@v3
4143
with:
4244
name: jack2-macOS-intel-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
4345
path: PawPaw/jack2-macOS-*.tar.gz
@@ -55,11 +57,12 @@ jobs:
5557
macos_universal:
5658
runs-on: macos-10.15
5759
steps:
58-
- uses: actions/checkout@v2
60+
- uses: actions/checkout@v3
5961
with:
6062
submodules: recursive
6163
- name: Set up cache
62-
uses: actions/cache@v2
64+
uses: actions/cache@v3
65+
id: cache
6366
with:
6467
path: |
6568
~/PawPawBuilds
@@ -77,12 +80,13 @@ jobs:
7780
./PawPaw/bootstrap-jack2.sh macos-universal && ./PawPaw/bootstrap-qt.sh macos-universal && ./PawPaw/.cleanup.sh macos-universal
7881
- name: Build macOS universal
7982
shell: bash
83+
if: steps.cache.outputs.cache-hit == 'true'
8084
run: |
8185
./pack-jack2-version.sh macos-universal
8286
- name: Set sha8
8387
id: slug
8488
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
85-
- uses: actions/upload-artifact@v2
89+
- uses: actions/upload-artifact@v3
8690
with:
8791
name: jack2-macOS-universal-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
8892
path: PawPaw/jack2-macOS-*.tar.gz
@@ -100,11 +104,12 @@ jobs:
100104
win32:
101105
runs-on: ubuntu-20.04
102106
steps:
103-
- uses: actions/checkout@v2
107+
- uses: actions/checkout@v3
104108
with:
105109
submodules: recursive
106110
- name: Set up cache
107-
uses: actions/cache@v2
111+
uses: actions/cache@v3
112+
id: cache
108113
with:
109114
path: |
110115
~/PawPawBuilds
@@ -136,12 +141,13 @@ jobs:
136141
./PawPaw/bootstrap-jack2.sh win32 && ./PawPaw/bootstrap-qt.sh win32 && ./PawPaw/.cleanup.sh win32
137142
- name: Build win32 cross-compiled
138143
shell: bash
144+
if: steps.cache.outputs.cache-hit == 'true'
139145
run: |
140146
xvfb-run ./pack-jack2-version.sh win32
141147
- name: Set sha8
142148
id: slug
143149
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
144-
- uses: actions/upload-artifact@v2
150+
- uses: actions/upload-artifact@v3
145151
with:
146152
name: jack2-win32-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
147153
path: PawPaw/jack2-win*.exe
@@ -159,11 +165,12 @@ jobs:
159165
win64:
160166
runs-on: ubuntu-20.04
161167
steps:
162-
- uses: actions/checkout@v2
168+
- uses: actions/checkout@v3
163169
with:
164170
submodules: recursive
165171
- name: Set up cache
166-
uses: actions/cache@v2
172+
uses: actions/cache@v3
173+
id: cache
167174
with:
168175
path: |
169176
~/PawPawBuilds
@@ -195,12 +202,13 @@ jobs:
195202
./PawPaw/bootstrap-jack2.sh win64 && ./PawPaw/bootstrap-qt.sh win64 && ./PawPaw/.cleanup.sh win64
196203
- name: Build win64 cross-compiled
197204
shell: bash
205+
if: steps.cache.outputs.cache-hit == 'true'
198206
run: |
199207
xvfb-run ./pack-jack2-version.sh win64
200208
- name: Set sha8
201209
id: slug
202210
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
203-
- uses: actions/upload-artifact@v2
211+
- uses: actions/upload-artifact@v3
204212
with:
205213
name: jack2-win64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
206214
path: PawPaw/jack2-win*.exe

PawPaw

Submodule PawPaw updated 57 files

pack-jack2-version.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

33
export JACK2_VERSION=v1.9.22
4+
export JACK_EXAMPLE_TOOLS_VERSION=0c4a3df94f4f87048e101f4c5ee282ed7a1080b3
45
export QJACKCTL_VERSION=0.9.9
56

67
set -e
@@ -21,6 +22,7 @@ fi
2122

2223
rm -rf ~/PawPawBuilds/builds/*/jack-router-*
2324
rm -rf ~/PawPawBuilds/builds/*/jack2-${JACK2_VERSION}
25+
rm -rf ~/PawPawBuilds/builds/*/jack-example-tools-${JACK_EXAMPLE_TOOLS_VERSION}
2426
rm -rf ~/PawPawBuilds/builds/*/qjackctl-${QJACKCTL_VERSION}
2527

2628
# ---------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)