Skip to content

Commit

Permalink
manual build with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pmed committed Oct 24, 2023
1 parent 87eba3f commit 431eb08
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
name: Build V8

on:
push:
branches: [ master ]
workflow_dispatch:
inputs:
version:
description: 'V8 version'
required: true


jobs:
build:
runs-on: windows-latest
strategy:
matrix:
version: ['8.3', '8.4', '8.5']
platform: ['x64', 'x86']
lib: ['shared'] #, 'monolith']
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Python2
uses: actions/setup-python@v2
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '2.x'
python-version: '3.x'
- name: Setup NuGet
uses: nuget/setup-nuget@v1
with:
Expand All @@ -29,9 +32,9 @@ jobs:
- name: Enable Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1.3.0
with:
toolset: '14.2'
vsversion: '2022'
- name: Build
run: python build.py --version=${{ matrix.version }} --platform=${{ matrix.platform }} --libs=${{ matrix.lib }} --use-clang
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:
Expand Down

0 comments on commit 431eb08

Please sign in to comment.