-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (41 loc) · 1.07 KB
/
test_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: test_build
on:
push:
branches:
- test_build
# schedule:
# - cron: '0 6 * * 1,4' # Make a fresh test build every Monday and Thursday, at 6:00 AM UTC.
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
build-target: linux
- os: windows-latest
build-target: win
- os: macos-latest
build-target: osx
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-node@master
with:
node-version: 16
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Install dependencies
run: npm install
- name: Build Service
run: npm run build-${{ matrix.build-target }}
- name: Make
run: npm run make
- name: Upload ${{ matrix.build-target }} build
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.build-target }}
path: out/make
retention-days: 10