| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff 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 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments