@@ -101,6 +101,10 @@ jobs:
101
101
-v ${{ github.workspace }}:/workspace \
102
102
-w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
103
103
set -e
104
+ export DEBIAN_FRONTEND=noninteractive
105
+ sed -i "s|archive.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
106
+ sed -i "s|security.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
107
+
104
108
apt update
105
109
apt install -y build-essential libsdl2-dev cmake git
106
110
cmake -B build
@@ -129,6 +133,10 @@ jobs:
129
133
-v ${{ github.workspace }}:/workspace \
130
134
-w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
131
135
set -e
136
+ export DEBIAN_FRONTEND=noninteractive
137
+ sed -i "s|archive.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
138
+ sed -i "s|security.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
139
+
132
140
apt update
133
141
apt install -y build-essential libsdl2-dev cmake git
134
142
cmake -B build -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv8-a
@@ -157,6 +165,10 @@ jobs:
157
165
-v ${{ github.workspace }}:/workspace \
158
166
-w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
159
167
set -e
168
+ export DEBIAN_FRONTEND=noninteractive
169
+ sed -i "s|archive.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
170
+ sed -i "s|security.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
171
+
160
172
apt update
161
173
apt install -y build-essential libsdl2-dev cmake git
162
174
cmake -B build -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv7-a+fp
@@ -242,6 +254,10 @@ jobs:
242
254
-v ${{ github.workspace }}:/workspace \
243
255
-w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
244
256
set -e
257
+ export DEBIAN_FRONTEND=noninteractive
258
+ sed -i "s|archive.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
259
+ sed -i "s|security.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
260
+
245
261
apt update
246
262
apt install -y build-essential cmake libsdl2-dev git
247
263
cmake . -DWHISPER_SDL2=ON -DCMAKE_BUILD_TYPE=${{ matrix.build }}
@@ -272,6 +288,10 @@ jobs:
272
288
-v ${{ github.workspace }}:/workspace \
273
289
-w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
274
290
set -e
291
+ export DEBIAN_FRONTEND=noninteractive
292
+ sed -i "s|archive.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
293
+ sed -i "s|security.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
294
+
275
295
apt update
276
296
apt install -y build-essential cmake libsdl2-dev git
277
297
cmake . -DWHISPER_SDL2=ON -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv8-a
@@ -302,6 +322,10 @@ jobs:
302
322
-v ${{ github.workspace }}:/workspace \
303
323
-w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
304
324
set -e
325
+ export DEBIAN_FRONTEND=noninteractive
326
+ sed -i "s|archive.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
327
+ sed -i "s|security.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
328
+
305
329
apt update
306
330
apt install -y build-essential cmake libsdl2-dev git
307
331
cmake . -DWHISPER_SDL2=ON -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv7-a+fp
@@ -335,6 +359,10 @@ jobs:
335
359
-v ${{ github.workspace }}:/workspace \
336
360
-w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
337
361
set -e
362
+ export DEBIAN_FRONTEND=noninteractive
363
+ sed -i "s|archive.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
364
+ sed -i "s|security.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
365
+
338
366
apt update
339
367
apt install -y clang build-essential cmake libsdl2-dev git
340
368
cmake . -DWHISPER_SDL2=ON -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang
@@ -365,6 +393,10 @@ jobs:
365
393
-v ${{ github.workspace }}:/workspace \
366
394
-w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
367
395
set -e
396
+ export DEBIAN_FRONTEND=noninteractive
397
+ sed -i "s|archive.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
398
+ sed -i "s|security.ubuntu.com|mirrors.kernel.org|g" /etc/apt/sources.list
399
+
368
400
apt update
369
401
apt install -y build-essential cmake git
370
402
cmake . -DCMAKE_BUILD_TYPE=Debug \
0 commit comments