Running nctl test in sidecar repo #597
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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: print pwd | |
run: | | |
echo $(pwd) | |
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b #v3.0.2 | |
with: | |
path: /home/runner/work/event-sidecar/z | |
- uses: actions/checkout@master | |
with: | |
repository: zajko/casper-node | |
ref: refs/heads/nctl-extracted-sidecar | |
path: /home/runner/work/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/cc | |
- name: compile casper-client-rs | |
run: | | |
cd /home/runner/work/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/cnl | |
- name: compile casper-node-launcher | |
run: | | |
cd /home/runner/work/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/cn/ci/nightly-test.sh" | |
- uses: Swatinem/rust-cache@6720f05bc48b77f96918929a9019fb2203ff71f8 | |
with: | |
shared-key: ${{ matrix.os }} | |
- name: update toolchain | |
run: rustup update |