Skip to content

Commit 60942cc

Browse files
gengjiawenMylesBorins
authored andcommitted
src: add build Github Action
PR-URL: #31153 Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 3e7b3e3 commit 60942cc

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/CI.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build-linux:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Use Node.js ${{ matrix.node-version }}
11+
uses: actions/setup-node@v1
12+
with:
13+
node-version: 13.x
14+
- name: Environment Information
15+
run: npx envinfo
16+
- name: Build
17+
run: ./configure && make -j2
18+
build-windows:
19+
runs-on: windows-latest
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Use Node.js ${{ matrix.node-version }}
23+
uses: actions/setup-node@v1
24+
with:
25+
node-version: 13.x
26+
- name: Environment Information
27+
run: npx envinfo
28+
- name: Install deps
29+
run: choco install nasm
30+
- name: Build
31+
run: ./vcbuild.bat
32+
build-macOS:
33+
runs-on: macOS-latest
34+
steps:
35+
- uses: actions/checkout@v2
36+
- name: Use Node.js ${{ matrix.node-version }}
37+
uses: actions/setup-node@v1
38+
with:
39+
node-version: 13.x
40+
- name: Environment Information
41+
run: npx envinfo
42+
- name: Build
43+
run: ./configure && make -j8

0 commit comments

Comments
 (0)