@@ -289,6 +289,12 @@ jobs:
289289 os : linux-x64-gh
290290 package_json_arch : " x64"
291291 CMAKE_BUILD_TYPE : " Debug"
292+ - lto_flag : " "
293+ label : bun-webkit-linux-amd64-musl-debug-asan
294+ os : linux-x64-gh
295+ package_json_arch : " x64"
296+ CMAKE_BUILD_TYPE : " Debug"
297+ ENABLE_SANITIZERS : " address,undefined"
292298 - lto_flag : " "
293299 label : bun-webkit-linux-arm64-musl-debug
294300 os : linux-arm64-gh
@@ -329,9 +335,11 @@ jobs:
329335 with :
330336 install : true
331337 - name : Run
338+ env :
339+ ENABLE_SANITIZERS : ${{matrix.ENABLE_SANITIZERS}}
332340 run : |
333341 rm -rf ${{runner.temp}}/bun-webkit ${{runner.temp}}/bun-webkit.tar.gz
334- WEBKIT_RELEASE_TYPE=${{matrix.CMAKE_BUILD_TYPE}} CPU="native" cpu=native LTO_FLAG="${{matrix.lto_flag}}" temp=${{runner.temp}} bash musl-release.sh
342+ WEBKIT_RELEASE_TYPE=${{matrix.CMAKE_BUILD_TYPE}} CPU="native" cpu=native LTO_FLAG="${{matrix.lto_flag}}" temp=${{runner.temp}} ENABLE_SANITIZERS="${{matrix.ENABLE_SANITIZERS}}" bash musl-release.sh
335343 cd ${{runner.temp}}
336344 echo "#define BUN_WEBKIT_VERSION \"${{ inputs.build_ref }}\"" >> bun-webkit/include/cmakeconfig.h
337345 echo '{ "name": "${{matrix.label}}", "version": "0.0.1-${{ inputs.build_ref }}", "os": ["linux"], "cpu": ["${{matrix.package_json_arch}}"], "repository": "https://github.com/${{github.repository}}" }' > bun-webkit/package.json
@@ -452,6 +460,10 @@ jobs:
452460 with :
453461 name : bun-webkit-linux-amd64-musl-debug
454462 path : ${{runner.temp}}/bun-webkit-linux-amd64-musl-debug
463+ - uses : actions/download-artifact@v4
464+ with :
465+ name : bun-webkit-linux-amd64-musl-debug-asan
466+ path : ${{runner.temp}}/bun-webkit-linux-amd64-musl-debug-asan
455467 - uses : actions/download-artifact@v4
456468 with :
457469 name : bun-webkit-linux-arm64-musl-debug
@@ -480,6 +492,7 @@ jobs:
480492 mv ${{runner.temp}}/bun-webkit-linux-amd64-debug/bun-webkit.tar.gz ./out/bun-webkit-linux-amd64-debug.tar.gz
481493 mv ${{runner.temp}}/bun-webkit-linux-arm64-debug/bun-webkit.tar.gz ./out/bun-webkit-linux-arm64-debug.tar.gz
482494 mv ${{runner.temp}}/bun-webkit-linux-amd64-musl-debug/bun-webkit.tar.gz ./out/bun-webkit-linux-amd64-musl-debug.tar.gz
495+ mv ${{runner.temp}}/bun-webkit-linux-amd64-musl-debug-asan/bun-webkit.tar.gz ./out/bun-webkit-linux-amd64-musl-debug-asan.tar.gz
483496 mv ${{runner.temp}}/bun-webkit-linux-arm64-musl-debug/bun-webkit.tar.gz ./out/bun-webkit-linux-arm64-musl-debug.tar.gz
484497 mv ${{runner.temp}}/bun-webkit-linux-amd64-asan/bun-webkit.tar.gz ./out/bun-webkit-linux-amd64-asan.tar.gz
485498 mv ${{runner.temp}}/bun-webkit-linux-arm64-asan/bun-webkit.tar.gz ./out/bun-webkit-linux-arm64-asan.tar.gz
@@ -529,6 +542,7 @@ jobs:
529542 ./out/bun-webkit-linux-amd64-musl-lto.tar.gz
530543 ./out/bun-webkit-linux-arm64-musl-lto.tar.gz
531544 ./out/bun-webkit-linux-amd64-musl-debug.tar.gz
545+ ./out/bun-webkit-linux-amd64-musl-debug-asan.tar.gz
532546 ./out/bun-webkit-linux-arm64-musl-debug.tar.gz
533547
534548 - uses : softprops/action-gh-release@v1
0 commit comments