Skip to content

Debug release

Debug release #170

Workflow file for this run

name: build-release
on:
push:
tags:
- "**"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: write
env:
ZIG_VERSION: 0.15.1
V8_REVISION: 14.0.365.4
LP_CACHE: ".lp-cache"
jobs:
build-x86_64-linux-debug:
env:
OS: linux
ARCH: x86_64
runs-on: ubuntu-22.04
steps:
- uses: mlugg/setup-zig@v2.0.5
with:
version: ${{ env.ZIG_VERSION }}
cache-key: ${{ env.ZIG_VERSION }}-${{ env.OS }}-${{ env.ARCH }}
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- run: zig env
- run: |
sudo apt-get update
sudo apt-get install -yq libglib2.0-dev
- run: zig build -Doptimize=Debug -Dis_tsan=true -Dv8_enable_sandbox=true build-v8
- 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
- name: Upload the build
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: libc_v8_${{ env.V8_REVISION }}_${{ env.OS }}_${{ env.ARCH }}_debug.a
tag: v0.2.7