Skip to content

Commit

Permalink
build: add lto build to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gengjiawen committed May 16, 2021
1 parent aed17e9 commit 4ad54b7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,21 @@ jobs:
path: out/doc
- name: Test
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions"

build-lto:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Build lto
run: |
python configure.py --enable-lto && make -C out/Release v8_snapshot
# sudo apt update && sudo apt install ninja-build -y
# ./configure --enable-lto --ninja
# ninja -C out/Release

0 comments on commit 4ad54b7

Please sign in to comment.