Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiawen Geng <technicalcute@gmail.com>2021-05-06 15:09:25 +0300
committergengjiawen <technicalcute@gmail.com>2021-05-28 14:53:25 +0300
commitef4bf8f0a968400fa9fdb26972730cb73177e88e (patch)
treea386b2d80da4a54d2ffcb33ff35e84585e27f933 /.github
parent8b09629e23d6f14d5dce40eae7ebaa46d180d6f8 (diff)
build: add lto build to CI
PR-URL: https://github.com/nodejs/node/pull/38567 Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/daily.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml
new file mode 100644
index 00000000000..3d8d66a1254
--- /dev/null
+++ b/.github/workflows/daily.yml
@@ -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