forked from rogchap/v8go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Created an scheduled workflow that runs every month, which automated the steps to upgrade the v8 binaries from source https://github.com/rogchap/v8go#upgrading-the-v8-binaries - Created a new workflow that is triggered by a pull_request which build the v8 binaries for MacOs and Linux. Window is excluded until we figured out a way to solve the compiler issues.
- Loading branch information
1 parent
7e5d751
commit 277eb17
Showing
2 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Automated V8 Build For MacOSX and Linux | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- v8_*_upgrade | ||
|
||
jobs: | ||
build: | ||
name: Build V8 for ${{ matrix.platform }} | ||
strategy: | ||
matrix: | ||
platform: [ubuntu-18.04, macos-latest] | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
fetch-depth: 1 | ||
- name: Update depot_tools fetch config | ||
run: cd deps/depot_tools && git config --unset-all remote.origin.fetch; git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* | ||
shell: bash | ||
- name: Build V8 linux | ||
if: matrix.platform == 'ubuntu-18.04' | ||
run: cd deps && ./build.py --no-clang | ||
- name: Build V8 macOS | ||
if: matrix.platform == 'macos-latest' | ||
run: cd deps && ./build.py | ||
- name: Create PR | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
commit-message: Update V8 static library for ${{ matrix.platform }} | ||
branch: v8-lib | ||
branch-suffix: random | ||
delete-branch: true | ||
title: V8 static library for ${{ matrix.platform }} | ||
body: Auto-generated pull request to build V8 for ${{ matrix.platform }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters