8
8
branches :
9
9
- ' *'
10
10
env :
11
- CACHE_VERSION : 20230704
12
- PAWPAW_VERSION : 6a3c6a65a89abe221858c3f7635140074506bfc3
11
+ CACHE_VERSION : 20240930
12
+ PAWPAW_VERSION : a9ab736dc297b2055536c71cddf1c79711d420bb
13
13
PAWPAW_SKIP_LTO : 1
14
14
PAWPAW_SKIP_GLIB : 1
15
15
PAWPAW_SKIP_LV2 : 1
@@ -19,13 +19,13 @@ jobs:
19
19
strategy :
20
20
matrix :
21
21
target : [intel, universal]
22
- runs-on : macos-11
22
+ runs-on : macos-12
23
23
steps :
24
- - uses : actions/checkout@v3
24
+ - uses : actions/checkout@v4
25
25
with :
26
26
submodules : recursive
27
27
- name : Set up cache
28
- uses : actions/cache@v3
28
+ uses : actions/cache@v4
29
29
with :
30
30
path : |
31
31
~/PawPawBuilds
40
40
git clone https://github.com/DISTRHO/PawPaw.git
41
41
git -C PawPaw checkout ${PAWPAW_VERSION}
42
42
fi
43
- ./PawPaw/bootstrap-jack2.sh macos-${{ matrix.target }} && ./PawPaw/.cleanup.sh macos-${{ matrix.target }}
43
+ ./PawPaw/.github/workflows/bootstrap-deps.sh macos-${{ matrix.target }}
44
+ ./PawPaw/bootstrap-jack2.sh macos-${{ matrix.target }}
45
+ ./PawPaw/.cleanup.sh macos-${{ matrix.target }}
44
46
- name : Build jack2
45
47
shell : bash
46
48
run : |
58
60
shell : bash
59
61
run : |
60
62
./macosx/generate-pkg.sh $(pwd)/destdir/usr/local ${{ github.event.pull_request.number || env.SHA8 }}
61
- - uses : actions/upload-artifact@v3
63
+ - uses : actions/upload-artifact@v4
62
64
with :
63
65
name : jack2-macOS-${{ matrix.target }}-${{ github.event.pull_request.number || env.SHA8 }}
64
66
path : macosx/jack2-osx-*.pkg
@@ -69,48 +71,47 @@ jobs:
69
71
target : [win32, win64]
70
72
runs-on : ubuntu-22.04
71
73
steps :
72
- - uses : actions/checkout@v3
74
+ - uses : actions/checkout@v4
73
75
with :
74
76
submodules : recursive
75
77
- name : Set up cache
76
- uses : actions/cache@v3
78
+ uses : actions/cache@v4
77
79
with :
78
80
path : |
79
81
~/PawPawBuilds
80
82
key : ${{ matrix.target }}-v${{ env.CACHE_VERSION }}
81
83
- name : Restore debian packages cache
84
+ shell : bash
82
85
run : |
83
- if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then \
84
- sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/; \
86
+ if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then
87
+ sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/;
85
88
fi
86
89
- name : Fix GitHub's mess
90
+ shell : bash
87
91
run : |
88
92
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
89
93
sudo dpkg --add-architecture i386
90
94
sudo apt-get update -qq
91
95
sudo apt-get install -yqq --allow-downgrades libc6:i386 libgcc-s1:i386 libstdc++6:i386
92
96
- name : Set up dependencies
93
- if : ${{ matrix.target == 'win32' }}
94
- run : |
95
- sudo apt-get install -y autopoint build-essential curl cmake jq llvm mingw-w64 xvfb \
96
- binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386
97
- - name : Set up dependencies
98
- if : ${{ matrix.target == 'win64' }}
97
+ shell : bash
99
98
run : |
100
- sudo apt-get install -y autopoint build-essential curl cmake jq llvm mingw-w64 xvfb \
101
- binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable
99
+ if [ ! -d PawPaw ]; then
100
+ git clone https://github.com/DISTRHO/PawPaw.git
101
+ git -C PawPaw checkout ${PAWPAW_VERSION}
102
+ fi
103
+ sudo ./PawPaw/.github/workflows/bootstrap-deps.sh ${{ matrix.target }}
104
+ sudo apt-get install -y build-essential llvm xvfb wine-stable
102
105
- name : Cache debian packages
106
+ shell : bash
103
107
run : |
104
- mkdir -p ~/PawPawBuilds/debs && \
108
+ mkdir -p ~/PawPawBuilds/debs
105
109
sudo mv /var/cache/apt/archives/*.deb ~/PawPawBuilds/debs/
106
110
- name : Bootstrap dependencies
107
111
shell : bash
108
112
run : |
109
- if [ ! -d PawPaw ]; then
110
- git clone https://github.com/DISTRHO/PawPaw.git
111
- git -C PawPaw checkout ${PAWPAW_VERSION}
112
- fi
113
- ./PawPaw/bootstrap-jack2.sh ${{ matrix.target }} && ./PawPaw/.cleanup.sh ${{ matrix.target }}
113
+ ./PawPaw/bootstrap-jack2.sh ${{ matrix.target }}
114
+ ./PawPaw/.cleanup.sh ${{ matrix.target }}
114
115
- name : Build jack2
115
116
shell : bash
116
117
run : |
@@ -122,6 +123,7 @@ jobs:
122
123
./waf install
123
124
- name : Generate MSVC lib files
124
125
if : ${{ matrix.target == 'win32' }}
126
+ shell : bash
125
127
run : |
126
128
pushd $(pwd)/destdir/lib
127
129
llvm-dlltool -m i386 -D libjack.dll -d libjack.def -l libjack.lib
@@ -130,6 +132,7 @@ jobs:
130
132
popd
131
133
- name : Generate MSVC lib files
132
134
if : ${{ matrix.target == 'win64' }}
135
+ shell : bash
133
136
run : |
134
137
# 32bit
135
138
pushd $(pwd)/destdir/lib32
@@ -163,7 +166,7 @@ jobs:
163
166
echo "#define VERSION \"${{ github.event.pull_request.number || env.SHA8 }}\"" > version.iss
164
167
xvfb-run wine ${WINEPREFIX}/drive_c/InnoSeup/ISCC.exe ${{ matrix.target }}-mini.iss
165
168
popd
166
- - uses : actions/upload-artifact@v3
169
+ - uses : actions/upload-artifact@v4
167
170
with :
168
171
name : jack2-${{ matrix.target }}-${{ github.event.pull_request.number || env.SHA8 }}
169
172
path : windows/inno/jack2-*.exe
0 commit comments