Skip to content

Build V8

Build V8 #32

Workflow file for this run

name: Build V8
on:
workflow_dispatch:
inputs:
version:
description: 'V8 version'
required: true
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
platform: ['x64', 'x86']
lib: ['shared'] #, 'monolith']
name: Build V8 ${{ github.event.inputs.version }} ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Setup NuGet
uses: nuget/setup-nuget@v1
with:
nuget-api-key-source: https://api.nuget.org/v3/index.json
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
- name: Enable Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1
with:
vsversion: '2022'
- name: Build
run: python build.py --version=${{ github.event.inputs.version }} --platform=${{ matrix.platform }} --libs=${{ matrix.lib }} --use-clang
#- name: Store packages
# uses: actions/upload-artifact@v2
# with:
# name: '8.4-${{ matrix.platform }}-${{ matrix.lib }}'
# path: '*.nupkg'
# continue-on-error: true
- name: Publish on Nuget.org
run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate