-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitpod.yml
45 lines (40 loc) · 1.32 KB
/
.gitpod.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
image:
file: .gitpod.Dockerfile
github:
prebuilds:
# enable for the default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: false
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: false
# add a check to pull requests (defaults to true)
addCheck: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: true
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
addBadge: true
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
tasks:
- name: Install tools
init: >
rustup target add wasm32-unknown-unknown &&
npm i -g near-cli &&
gp sync-done installs
command: echo "Installed all tools"
- name: Install all npm packaged
init: >
npm i
- name: Run Test
init: >
gp sync-await installs &&
cargo test -- --nocapture &&
gp sync-done test
command: echo "Ran all test"
- name: Build
init: >
gp sync-await test &&
cargo build --target wasm32-unknown-unknown --release
command: echo "Built the wasm files"