forked from polkadot-evm/frontier
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 901 Bytes
/
rust.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
name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: 'Run tests'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Submodules
run: git submodule update --init --recursive
- name: Init
run: |
scripts/init.sh
cargo --version
rustc --version
cargo +$WASM_BUILD_TOOLCHAIN --version
rustc +$WASM_BUILD_TOOLCHAIN --version
env:
WASM_BUILD_TOOLCHAIN: nightly-2020-08-29
- name: Build
run: cargo build --verbose --all
- name: Run tests
run: cargo test --verbose --all
- name: Use Node.js 10
uses: actions/setup-node@v1
with:
node-version: 10
- name: Install functional tests typescript
run: cd ts-tests && npm install
- name: Run functional tests
run: cd ts-tests && npm run test