Skip to content

Commit

Permalink
chore: get new api
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed Sep 23, 2024
1 parent efc2426 commit c63393b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/v8build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,19 @@ jobs:
arch: [x86_64, arm64]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4
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/*
- 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: Install g++-aarch64-linux-gnu
if: matrix.platform == 'ubuntu-20.04' && matrix.arch == 'arm64'
- if: matrix.platform == 'ubuntu-20.04' && matrix.arch == 'arm64'
run: sudo apt update && sudo apt install g++-aarch64-linux-gnu -y
- name: Build V8 linux
if: matrix.platform == 'ubuntu-20.04'
- if: matrix.platform == 'ubuntu-20.04'
run: cd deps && ./build.py --no-clang --arch ${{ matrix.arch }}
# Disabled macos-14 for the current setup
# - name: Build V8 macOS
# if: matrix.platform == 'macos-14'
# run: cd deps && ./build.py --arch ${{ matrix.arch }}
- name: Create PR
uses: peter-evans/create-pull-request@v7
- if: matrix.platform == 'macos-14'
run: cd deps && ./build.py --arch ${{ matrix.arch }}
- uses: peter-evans/create-pull-request@v7
with:
commit-message: Update V8 static library for ${{ matrix.platform }} ${{ matrix.arch }}
branch-suffix: random
Expand Down
2 changes: 1 addition & 1 deletion deps/upgrade_v8.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
)
"""

CHROME_VERSIONS_URL = "https://omahaproxy.appspot.com/all.json?os=linux&channel=stable"
CHROME_VERSIONS_URL = "https://versionhistory.googleapis.com/v1/chrome/platforms/all/channels/all/versions/all/releases?filter=endtime%3E2023-01-01T00:00:00Z
V8_VERSION_FILE = "v8_version"

deps_path = os.path.dirname(os.path.realpath(__file__))
Expand Down

0 comments on commit c63393b

Please sign in to comment.