forked from MASQ-Project/MASQ-Node-issues
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 1010 Bytes
/
ci-matrix.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
name: ci-matrix
on:
pull_request:
types: [opened, synchronize]
branches:
- master
jobs:
build:
name: Build node on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Cache sccache results
uses: actions/cache@v1
env:
cache-name: cache-node-modules
with:
path: ~/.cargo/cache
key: ${{ runner.os }}-0001
- name: Build ${{ matrix.os }}
run: |
rustup show
rustup update stable
rustup show
rustup component add rustfmt
rustup component add clippy
./ci/all.sh
./ci/multinode_integration_test.sh
./ci/collect_results.sh
shell: bash
- name: Publish ${{ matrix.os }}
uses: actions/upload-artifact@v1
with:
name: Build Results ${{ matrix.os }}
path: results