Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 24cca7c

Browse filesBrowse files
gengjiawendanielleadams
authored andcommitted
build: add lto build to CI
PR-URL: #38567 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent e91d14c commit 24cca7c
Copy full SHA for 24cca7c

File tree

Expand file treeCollapse file tree

1 file changed

+28
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+28
-0
lines changed
Open diff view settings
Collapse file

‎.github/workflows/daily.yml‎

Copy file name to clipboard
+28Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Node.js daily job
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 0 * * *"
7+
8+
env:
9+
NODE_VERSION: 14.x
10+
11+
jobs:
12+
build-lto:
13+
runs-on: ubuntu-latest
14+
# not working on gcc-8 and gcc-9 see https://github.com/nodejs/node/issues/38570
15+
container: gcc:11
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Use Node.js ${{ env.NODE_VERSION }}
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: ${{ env.NODE_VERSION }}
22+
- name: Environment Information
23+
run: npx envinfo
24+
- name: Build lto
25+
run: |
26+
apt-get update && apt-get install ninja-build python-is-python3 -y
27+
./configure --enable-lto --ninja
28+
ninja -C out/Release

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.