diff --git a/.github/workflows/v8build_not_for_windows.yml b/.github/workflows/v8build_not_for_windows.yml new file mode 100644 index 00000000..74e03f65 --- /dev/null +++ b/.github/workflows/v8build_not_for_windows.yml @@ -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 }} + diff --git a/.github/workflows/v8upgrade.yml b/.github/workflows/v8upgrade.yml index b1de2596..8fdbeb47 100644 --- a/.github/workflows/v8upgrade.yml +++ b/.github/workflows/v8upgrade.yml @@ -1,6 +1,8 @@ name: V8 Upgrade -on: workflow_dispatch +on: + schedule: + - cron: '0 0 1 * *' # Run every 1st day of the month jobs: upgrade: