-
Notifications
You must be signed in to change notification settings - Fork 29.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR-URL: #38567 Reviewed-By: James M Snell <jasnell@gmail.com>
- Loading branch information
1 parent
e91d14c
commit 24cca7c
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Node.js daily job | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
env: | ||
NODE_VERSION: 14.x | ||
|
||
jobs: | ||
build-lto: | ||
runs-on: ubuntu-latest | ||
# not working on gcc-8 and gcc-9 see https://github.com/nodejs/node/issues/38570 | ||
container: gcc:11 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
- name: Environment Information | ||
run: npx envinfo | ||
- name: Build lto | ||
run: | | ||
apt-get update && apt-get install ninja-build python-is-python3 -y | ||
./configure --enable-lto --ninja | ||
ninja -C out/Release |