Skip to content

ci: build docker image with v8 lib #18

ci: build docker image with v8 lib

ci: build docker image with v8 lib #18

Workflow file for this run

name: build-release
env:
ZIG_VERSION: 0.11.0
mode: release
os: linux
arch: x86_64
on:
pull_request:
branches:
- fork
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-release:
strategy:
matrix:
include:
- arch: x86_64
os: linux
build_arch: amd64
name: build-release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- uses: docker/setup-buildx-action@v3
id: buildx
with:
install: true
- name: Docker build
uses: docker/build-push-action@v5
with:
context: .
push: false
build-args: |
ARCH=${{matrix.arch}}
OS=${{matrix.os}}
platforms: linux/${{matrix.build_arch}}
outputs: type=local,dest=/libc_v8.a
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: libc_v8-${{matrix.os}}-${{matrix.arch}}
path: /libc_v8.a