Skip to content

Commit c0607b3

Browse files
committed
add a linux x86_64 release in debug mode
1 parent d89e2b4 commit c0607b3

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build-release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,38 @@ jobs:
4848
allowUpdates: true
4949
artifacts: libc_v8_${{ env.V8_REVISION }}_${{ env.OS }}_${{ env.ARCH }}.a
5050

51+
build-x86_64-linux-debug:
52+
env:
53+
OS: linux
54+
ARCH: x86_64
55+
56+
runs-on: ubuntu-22.04
57+
steps:
58+
- uses: mlugg/setup-zig@v2.0.5
59+
with:
60+
version: ${{ env.ZIG_VERSION }}
61+
cache-key: ${{ env.ZIG_VERSION }}-${{ env.OS }}-${{ env.ARCH }}
62+
63+
- uses: actions/checkout@v4
64+
with:
65+
submodules: recursive
66+
fetch-depth: 0
67+
68+
- run: zig env
69+
70+
- run: |
71+
sudo apt-get update
72+
sudo apt-get install -yq libglib2.0-dev
73+
74+
- run: zig build -Doptimize=Debug -Dis_tsan=true -Dv8_enable_sandbox=true build-v8
75+
- run: mv ${{ env.LP_CACHE }}/v8-${{ env.V8_REVISION }}/out/${{ env.OS }}/debug/obj/zig/libc_v8.a libc_v8_${{ env.V8_REVISION }}_${{ env.OS }}_${{ env.ARCH }}_debug.a
76+
77+
- name: Upload the build
78+
uses: ncipollo/release-action@v1
79+
with:
80+
allowUpdates: true
81+
artifacts: libc_v8_${{ env.V8_REVISION }}_${{ env.OS }}_${{ env.ARCH }}_debug.a
82+
5183
build-aarch64-macos:
5284
env:
5385
OS: macos

0 commit comments

Comments
 (0)