We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aed17e9 commit 8df9eb4Copy full SHA for 8df9eb4
.github/workflows/misc.yml
@@ -32,3 +32,22 @@ jobs:
32
path: out/doc
33
- name: Test
34
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions"
35
+
36
+ build-lto:
37
+ if: github.event.pull_request.draft == false
38
+ runs-on: ubuntu-latest
39
+ # not working on gcc-8 and gcc-9 see https://github.com./nodejs/node/issues/38570
40
+ container: gcc:11
41
+ steps:
42
+ - uses: actions/checkout@v2
43
+ - name: Use Node.js ${{ env.NODE_VERSION }}
44
+ uses: actions/setup-node@v1
45
+ with:
46
+ node-version: ${{ env.NODE_VERSION }}
47
+ - name: Environment Information
48
+ run: npx envinfo
49
+ - name: Build lto
50
+ run: |
51
+ apt update && apt install ninja-build python-is-python3 -y
52
+ ./configure --enable-lto --ninja
53
+ ninja -C out/Release
0 commit comments