diff options
author | gengjiawen <technicalcute@gmail.com> | 2020-01-02 20:28:54 +0800 |
---|---|---|
committer | Myles Borins <myles.borins@gmail.com> | 2020-04-02 00:49:45 -0400 |
commit | 782f5dbddd41e741ec4cfb50a420a34bf848f558 (patch) | |
tree | 47ce6b6d2d3bca2966bd6a66d852e577a6168091 /.github | |
parent | 32c04491412a40ac6bea1b717a59141244620028 (diff) | |
download | node-new-782f5dbddd41e741ec4cfb50a420a34bf848f558.tar.gz |
src: add build Github Action
Backport-PR-URL: https://github.com/nodejs/node/pull/32608
PR-URL: https://github.com/nodejs/node/pull/31153
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/CI.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000000..47b5983630 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,43 @@ +name: CI + +on: [push, pull_request] + +jobs: + build-linux: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: 13.x + - name: Environment Information + run: npx envinfo + - name: Build + run: ./configure && make -j2 + build-windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: 13.x + - name: Environment Information + run: npx envinfo + - name: Install deps + run: choco install nasm + - name: Build + run: ./vcbuild.bat + build-macOS: + runs-on: macOS-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: 13.x + - name: Environment Information + run: npx envinfo + - name: Build + run: ./configure && make -j8 |