Skip to content
Permalink
Browse files

src: add build Github Action

PR-URL: #31153
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
gengjiawen committed Jan 2, 2020
1 parent d4fc59d commit 60026c7d9d3cf120de318f16171ebd78c0a08917
Showing with 43 additions and 0 deletions.
  1. +43 −0 .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

0 comments on commit 60026c7

Please sign in to comment.
You can’t perform that action at this time.