Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Apr 17, 2024
1 parent 20bfdae commit 9b554ff
Showing 4 changed files with 18 additions and 78 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gh-release-create.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: gh release create
on:
workflow_dispatch:
workflow_call:
concurrency: ${{ github.workflow }}-gh-release-create
concurrency: ${{ github.workflow }}
jobs:
gm:
uses: ./.github/workflows/gm.yml
17 changes: 5 additions & 12 deletions .github/workflows/gm.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ on:
workflow_call:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-gm
cancel-in-progress: true
jobs:
gm:
@@ -41,20 +41,13 @@ jobs:
shell: bash
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./setup-depot_tools
- run: fetch v8
- run: gclient sync --revision "v8@$(cat v8-tag.txt)"
- if: runner.os == 'Linux'
run: ./build/install-build-deps.sh
working-directory: v8
- run: |
# tools/dev/gm.py
tools/dev/v8gen.py "$GEN"
ninja -C out.gn/"$GEN" v8
- run: ./task.sh build
env:
GEN: ${{ matrix.gen }}
working-directory: v8
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.target }}
path: v8/out.gn
path: v8/v8/out.gn
57 changes: 0 additions & 57 deletions .github/workflows/sync-v8-tag.yml

This file was deleted.

19 changes: 12 additions & 7 deletions task.sh
Original file line number Diff line number Diff line change
@@ -13,19 +13,24 @@ generate() (
)

build() (
cd v8/v8
cd v8
gclient sync

cd v8
if [[ $(uname -s) == "Linux" ]]; then
./build/install-build-deps.sh
fi

gen="x64.release"
tools/dev/gm.py "$gen"

# tools/dev/v8gen.py "$gen"
# ninja -C out.gn/"$gen" v8

cd -
# tools/dev/gm.py "$gen"
tools/dev/v8gen.py "$gen" -vv -- '
is_component_build = true
use_custom_libcxx = false
'
ninja -C out.gn/"$gen" v8

cd ../..
echo done
)

"$@"

0 comments on commit 9b554ff

Please sign in to comment.