Skip to content

Commit 4915684

Browse files
committed
fix: comment out LTO builds (require more memory than GitHub runners provide)
1 parent e773677 commit 4915684

File tree

1 file changed

+52
-52
lines changed

1 file changed

+52
-52
lines changed

.github/workflows/build-reusable.yml

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,13 @@ jobs:
168168
RELEASE_FLAGS: "-O3 -DNDEBUG=1"
169169
- lto_flag: ""
170170
label: bun-webkit-linux-arm64-debug
171-
os: ubuntu-24.04-arm-4
171+
os: ubuntu-24.04-arm
172172
package_json_arch: "arm64"
173173
CMAKE_BUILD_TYPE: "Debug"
174174
RELEASE_FLAGS: "-O3 -DNDEBUG=1"
175175
- lto_flag: ""
176176
label: bun-webkit-linux-arm64-debug-asan
177-
os: ubuntu-24.04-arm-4
177+
os: ubuntu-24.04-arm
178178
package_json_arch: "arm64"
179179
CMAKE_BUILD_TYPE: "Debug"
180180
RELEASE_FLAGS: "-O3 -DNDEBUG=1"
@@ -186,24 +186,25 @@ jobs:
186186
CMAKE_BUILD_TYPE: "Debug"
187187
RELEASE_FLAGS: "-O3 -DNDEBUG=1"
188188
ENABLE_SANITIZERS: "address,undefined"
189-
- lto_flag: "-flto=full -fwhole-program-vtables -fforce-emit-vtables"
190-
label: bun-webkit-linux-arm64-lto
191-
os: ubuntu-24.04-arm-4
192-
package_json_arch: "arm64"
193-
CMAKE_BUILD_TYPE: "Release"
194-
RELEASE_FLAGS: "-O3 -DNDEBUG=1"
189+
# LTO builds commented out - require more memory than GitHub runners provide
190+
# - lto_flag: "-flto=full -fwhole-program-vtables -fforce-emit-vtables"
191+
# label: bun-webkit-linux-arm64-lto
192+
# os: ubuntu-24.04-arm
193+
# package_json_arch: "arm64"
194+
# CMAKE_BUILD_TYPE: "Release"
195+
# RELEASE_FLAGS: "-O3 -DNDEBUG=1"
195196
- lto_flag: ""
196197
label: bun-webkit-linux-arm64
197-
os: ubuntu-24.04-arm-4
198+
os: ubuntu-24.04-arm
198199
package_json_arch: "arm64"
199200
CMAKE_BUILD_TYPE: "Release"
200201
RELEASE_FLAGS: "-O3 -DNDEBUG=1"
201-
- lto_flag: "-flto=full -fwhole-program-vtables -fforce-emit-vtables"
202-
label: bun-webkit-linux-amd64-lto
203-
os: ubuntu-latest
204-
package_json_arch: "x64"
205-
CMAKE_BUILD_TYPE: "Release"
206-
RELEASE_FLAGS: "-O3 -DNDEBUG=1"
202+
# - lto_flag: "-flto=full -fwhole-program-vtables -fforce-emit-vtables"
203+
# label: bun-webkit-linux-amd64-lto
204+
# os: ubuntu-latest
205+
# package_json_arch: "x64"
206+
# CMAKE_BUILD_TYPE: "Release"
207+
# RELEASE_FLAGS: "-O3 -DNDEBUG=1"
207208
- lto_flag: ""
208209
label: bun-webkit-linux-amd64
209210
os: ubuntu-latest
@@ -219,7 +220,7 @@ jobs:
219220
ENABLE_SANITIZERS: "address,undefined"
220221
- lto_flag: ""
221222
label: bun-webkit-linux-arm64-asan
222-
os: ubuntu-24.04-arm-4
223+
os: ubuntu-24.04-arm
223224
package_json_arch: "arm64"
224225
CMAKE_BUILD_TYPE: "Release"
225226
RELEASE_FLAGS: "-O3 -DNDEBUG=1"
@@ -370,24 +371,25 @@ jobs:
370371
CMAKE_BUILD_TYPE: "Debug"
371372
- lto_flag: ""
372373
label: bun-webkit-linux-arm64-musl-debug
373-
os: ubuntu-24.04-arm-4
374+
os: ubuntu-24.04-arm
374375
package_json_arch: "arm64"
375376
CMAKE_BUILD_TYPE: "Debug"
376-
- lto_flag: "-flto=full -fwhole-program-vtables -fforce-emit-vtables"
377-
label: bun-webkit-linux-arm64-musl-lto
378-
os: ubuntu-24.04-arm-4
379-
package_json_arch: "arm64"
380-
CMAKE_BUILD_TYPE: "MinSizeRel"
377+
# LTO builds commented out - require more memory than GitHub runners provide
378+
# - lto_flag: "-flto=full -fwhole-program-vtables -fforce-emit-vtables"
379+
# label: bun-webkit-linux-arm64-musl-lto
380+
# os: ubuntu-24.04-arm
381+
# package_json_arch: "arm64"
382+
# CMAKE_BUILD_TYPE: "MinSizeRel"
381383
- lto_flag: ""
382384
label: bun-webkit-linux-arm64-musl
383-
os: ubuntu-24.04-arm-4
385+
os: ubuntu-24.04-arm
384386
package_json_arch: "arm64"
385387
CMAKE_BUILD_TYPE: "MinSizeRel"
386-
- lto_flag: "-flto=full -fwhole-program-vtables -fforce-emit-vtables"
387-
label: bun-webkit-linux-amd64-musl-lto
388-
os: ubuntu-latest
389-
package_json_arch: "x64"
390-
CMAKE_BUILD_TYPE: "MinSizeRel"
388+
# - lto_flag: "-flto=full -fwhole-program-vtables -fforce-emit-vtables"
389+
# label: bun-webkit-linux-amd64-musl-lto
390+
# os: ubuntu-latest
391+
# package_json_arch: "x64"
392+
# CMAKE_BUILD_TYPE: "MinSizeRel"
391393
- lto_flag: ""
392394
label: bun-webkit-linux-amd64-musl
393395
os: ubuntu-latest
@@ -514,14 +516,15 @@ jobs:
514516
with:
515517
name: bun-webkit-macos-amd64
516518
path: ${{runner.temp}}/bun-webkit-macos-amd64
517-
- uses: actions/download-artifact@v4
518-
with:
519-
name: bun-webkit-linux-amd64-lto
520-
path: ${{runner.temp}}/bun-webkit-linux-amd64-lto
521-
- uses: actions/download-artifact@v4
522-
with:
523-
name: bun-webkit-linux-arm64-lto
524-
path: ${{runner.temp}}/bun-webkit-linux-arm64-lto
519+
# LTO builds commented out - require more memory than GitHub runners provide
520+
# - uses: actions/download-artifact@v4
521+
# with:
522+
# name: bun-webkit-linux-amd64-lto
523+
# path: ${{runner.temp}}/bun-webkit-linux-amd64-lto
524+
# - uses: actions/download-artifact@v4
525+
# with:
526+
# name: bun-webkit-linux-arm64-lto
527+
# path: ${{runner.temp}}/bun-webkit-linux-arm64-lto
525528
- uses: actions/download-artifact@v4
526529
with:
527530
name: bun-webkit-windows-amd64
@@ -546,14 +549,14 @@ jobs:
546549
with:
547550
name: bun-webkit-linux-arm64-musl-debug
548551
path: ${{runner.temp}}/bun-webkit-linux-arm64-musl-debug
549-
- uses: actions/download-artifact@v4
550-
with:
551-
name: bun-webkit-linux-amd64-musl-lto
552-
path: ${{runner.temp}}/bun-webkit-linux-amd64-musl-lto
553-
- uses: actions/download-artifact@v4
554-
with:
555-
name: bun-webkit-linux-arm64-musl-lto
556-
path: ${{runner.temp}}/bun-webkit-linux-arm64-musl-lto
552+
# - uses: actions/download-artifact@v4
553+
# with:
554+
# name: bun-webkit-linux-amd64-musl-lto
555+
# path: ${{runner.temp}}/bun-webkit-linux-amd64-musl-lto
556+
# - uses: actions/download-artifact@v4
557+
# with:
558+
# name: bun-webkit-linux-arm64-musl-lto
559+
# path: ${{runner.temp}}/bun-webkit-linux-arm64-musl-lto
557560

558561
- name: Rename files
559562
run: |
@@ -576,10 +579,11 @@ jobs:
576579
mv ${{runner.temp}}/bun-webkit-macos-arm64-debug/bun-webkit.tar.gz ./out/bun-webkit-macos-arm64-debug.tar.gz
577580
mv ${{runner.temp}}/bun-webkit-macos-arm64-debug-asan/bun-webkit.tar.gz ./out/bun-webkit-macos-arm64-debug-asan.tar.gz
578581
mv ${{runner.temp}}/bun-webkit-macos-amd64-debug/bun-webkit.tar.gz ./out/bun-webkit-macos-amd64-debug.tar.gz
579-
mv ${{runner.temp}}/bun-webkit-linux-amd64-lto/bun-webkit.tar.gz ./out/bun-webkit-linux-amd64-lto.tar.gz
580-
mv ${{runner.temp}}/bun-webkit-linux-arm64-lto/bun-webkit.tar.gz ./out/bun-webkit-linux-arm64-lto.tar.gz
581-
mv ${{runner.temp}}/bun-webkit-linux-amd64-musl-lto/bun-webkit.tar.gz ./out/bun-webkit-linux-amd64-musl-lto.tar.gz
582-
mv ${{runner.temp}}/bun-webkit-linux-arm64-musl-lto/bun-webkit.tar.gz ./out/bun-webkit-linux-arm64-musl-lto.tar.gz
582+
# LTO builds commented out
583+
# mv ${{runner.temp}}/bun-webkit-linux-amd64-lto/bun-webkit.tar.gz ./out/bun-webkit-linux-amd64-lto.tar.gz
584+
# mv ${{runner.temp}}/bun-webkit-linux-arm64-lto/bun-webkit.tar.gz ./out/bun-webkit-linux-arm64-lto.tar.gz
585+
# mv ${{runner.temp}}/bun-webkit-linux-amd64-musl-lto/bun-webkit.tar.gz ./out/bun-webkit-linux-amd64-musl-lto.tar.gz
586+
# mv ${{runner.temp}}/bun-webkit-linux-arm64-musl-lto/bun-webkit.tar.gz ./out/bun-webkit-linux-arm64-musl-lto.tar.gz
583587
mv ${{runner.temp}}/bun-webkit-windows-amd64/bun-webkit.tar.gz ./out/bun-webkit-windows-amd64.tar.gz
584588
mv ${{runner.temp}}/bun-webkit-windows-amd64-debug/bun-webkit.tar.gz ./out/bun-webkit-windows-amd64-debug.tar.gz
585589
@@ -614,8 +618,6 @@ jobs:
614618
files: |
615619
./out/bun-webkit-linux-amd64.tar.gz
616620
./out/bun-webkit-linux-arm64.tar.gz
617-
./out/bun-webkit-linux-amd64-lto.tar.gz
618-
./out/bun-webkit-linux-arm64-lto.tar.gz
619621
./out/bun-webkit-linux-amd64-asan.tar.gz
620622
./out/bun-webkit-linux-arm64-asan.tar.gz
621623
./out/bun-webkit-linux-amd64-debug.tar.gz
@@ -630,8 +632,6 @@ jobs:
630632
files: |
631633
./out/bun-webkit-linux-amd64-musl.tar.gz
632634
./out/bun-webkit-linux-arm64-musl.tar.gz
633-
./out/bun-webkit-linux-amd64-musl-lto.tar.gz
634-
./out/bun-webkit-linux-arm64-musl-lto.tar.gz
635635
./out/bun-webkit-linux-amd64-musl-debug.tar.gz
636636
./out/bun-webkit-linux-arm64-musl-debug.tar.gz
637637

0 commit comments

Comments
 (0)