-
-
Notifications
You must be signed in to change notification settings - Fork 7
53 lines (46 loc) · 1.04 KB
/
ci.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
45
46
47
48
49
50
51
52
53
name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
- dev
tags:
- '*'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
host:
- x64
target:
- x64
node:
- 16
name: ${{ matrix.os }} (node=${{ matrix.node }}, host=${{ matrix.host }}, target=${{ matrix.target }})
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: check bash
run: yarn run check:bash:ci
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
architecture: ${{ matrix.host }}
- name: Install dependencies
run: yarn install --network-timeout 300000
- name: Hooks and crooks
run: yarn run setup
env:
RUN_OS: ${{ matrix.os }}
RUN_ARCH: ${{ matrix.target }}
- name: Build
run: yarn run build
- name: Test
run: yarn run test