-
Notifications
You must be signed in to change notification settings - Fork 143
47 lines (39 loc) · 1.26 KB
/
baedeker.yaml
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
name: Baedeker
on:
schedule:
- cron: "0 */3 * * *" # Runs every 3 hours
workflow_dispatch: # Allows manual dispatch
push:
pull_request:
jobs:
build-and-publish-baedeker-config:
runs-on: SubtensorCI
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update && \
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
- name: Install Rust
uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
components: rustfmt
profile: minimal
- name: Clone Baedeker repository
run: |
git clone https://github.com/UniqueNetwork/baedeker.git
cd baedeker
echo "[workspace]" >> Cargo.toml
cargo install --path . --locked
- name: Create chain spec and secrets
run: |
./.baedeker/up.sh .baedeker/forkless-data.jsonnet --tla-str=forked_spec=subtensor --tla-str=fork_source=wss://entrypoint-finney.opentensor.ai
- name: Upload chain spec and secrets as artifact
uses: actions/upload-artifact@v2
with:
name: baedeker-config
path: |
.baedeker/.bdk-env/specs/subtensor.json
.baedeker/.bdk-env/secret