-
Notifications
You must be signed in to change notification settings - Fork 11
75 lines (69 loc) · 2.18 KB
/
ci-casper-event-sidecar-rs.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
name: ci-casper-event-sidecar
on:
push:
branches:
- "dev"
- "feat-*"
- "rc-*"
- "nctl-extracted-sidecar"
paths-ignore:
- '**.md'
pull_request:
branches:
- "dev"
paths-ignore:
- '**.md'
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
defaults:
run:
working-directory: /
strategy:
matrix:
os: [ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- name: compile casper-node-launcher
run: |
echo $(pwd)
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b #v3.0.2
with:
path: /home/runner/work/event-sidecar/event-sidecar/event-sidecar
- uses: actions/checkout@master
with:
repository: zajko/casper-node
ref: refs/heads/nctl-extracted-sidecar
path: /home/runner/work/event-sidecar/event-sidecar/cn
- uses: actions/checkout@master
with:
repository: casper-ecosystem/casper-client-rs
ref: refs/heads/feat-track-node-2.0
path: /home/runner/work/event-sidecar/event-sidecar/cc
- name: compile casper-client-rs
run: |
cd /home/runner/work/event-sidecar/event-sidecar/cc
cargo build --release
- uses: actions/checkout@master
with:
repository: casper-network/casper-node-launcher
ref: refs/heads/main
path: /home/runner/work/event-sidecar/event-sidecar/cnl
- name: compile casper-node-launcher
run: |
cd /home/runner/work/event-sidecar/event-sidecar/cnl
cargo build --release
- name: compile
run: |
echo "starting stuff"
python -m pip install --upgrade pip
python3 -m pip install supervisor
python3 -m pip install toml tomlkit
bash -c "cachepot() { echo 'cachepot called' ; } && export -f cachepot && /home/runner/work/event-sidecar/event-sidecar/cn/ci/nightly-test.sh"
- uses: Swatinem/rust-cache@6720f05bc48b77f96918929a9019fb2203ff71f8
with:
shared-key: ${{ matrix.os }}
- name: update toolchain
run: rustup update