Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
bac6147
polkadot-sdk: v1.9.0 -> 1.13.0
FlorianFranzen Jun 11, 2024
cf27cb7
docker: avoid shorthand syntax
FlorianFranzen Jun 18, 2024
29b50a1
substrate: enable metadata hash extension
FlorianFranzen Jun 18, 2024
ebaa535
cargo: use global workspace defaults
FlorianFranzen Jun 19, 2024
88102b8
cargo: use global workspace dependencies
FlorianFranzen Jun 19, 2024
7477e0b
fmt: cosmetic formatting
FlorianFranzen Jun 19, 2024
ad28d72
runtime: return to srtool compliance
FlorianFranzen Jun 19, 2024
8a4d2ac
clippy: fix tests and clippy
FlorianFranzen Jun 19, 2024
3608001
polkadot-sdk: extend umbrella to runtime
FlorianFranzen Jun 19, 2024
600a9de
pallets: cleanup deps and umbrella
FlorianFranzen Jun 19, 2024
22a102c
docker: separate by environment
FlorianFranzen Jun 19, 2024
b9b6426
features: fast-runtime -> development
FlorianFranzen Jun 20, 2024
65cdbda
staging: update bootkeys and add service accounts
FlorianFranzen Jun 20, 2024
5240afd
tc-subxt: add support for multiple metadata
FlorianFranzen Jun 20, 2024
3cee982
inherent: remove storage proofs
FlorianFranzen Jun 21, 2024
23a33b6
Add build matrix for dev and testnet metadata
penumbra23 Jun 20, 2024
1fa5712
ci: build all feature varients
FlorianFranzen Jun 22, 2024
d213a50
ci: build chronicle and tester as well
FlorianFranzen Jun 22, 2024
462eb1c
runtime: export metadata during build
FlorianFranzen Jun 22, 2024
113a839
ci: use wasm-builder metadata
FlorianFranzen Jun 22, 2024
e4de448
ss58: extend with inofficial testnet assignment
FlorianFranzen Jun 22, 2024
74e337e
cargo: explicitly define default feature
FlorianFranzen Jun 22, 2024
842da1d
ci: cancel old job on update
FlorianFranzen Jun 22, 2024
f18a9aa
ci: use action instead of scripting
FlorianFranzen Jun 23, 2024
31b2c95
Add checkout to PR branch before committing
penumbra23 Jun 23, 2024
bd6b680
Move to self-hosted-timechain runner
penumbra23 Jun 23, 2024
43972db
Add setup step for caching and rustup
penumbra23 Jun 23, 2024
c309d0e
Remove sccache from timechain workflow
penumbra23 Jun 24, 2024
cf3c61e
ci: update cache action
FlorianFranzen Jun 24, 2024
65cf8b1
Continue CI if metadata artifacts don't exist
penumbra23 Jun 24, 2024
d641231
Revert "chain-spec: remove protocol id (#906)"
FlorianFranzen Jun 25, 2024
01c5c1c
Checkout using gh cli
penumbra23 Jun 26, 2024
724fbe3
tc-subxt: allow selection of metadata at runtime
FlorianFranzen Jun 25, 2024
f66f2b5
primitives: fix mangled headers
FlorianFranzen Jun 26, 2024
c8c8c62
clippy: fix remaining errors
FlorianFranzen Jun 26, 2024
befc90e
docker: minor cosmetic update
FlorianFranzen Jun 26, 2024
939399c
ci: split and cleanup timechain build jobs
FlorianFranzen Jun 26, 2024
ccea66f
tc-subxt: Automated metadata update
Jun 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add setup step for caching and rustup
  • Loading branch information
penumbra23 authored and FlorianFranzen committed Jun 27, 2024
commit 43972dbab2b0681f8841eafb3fe9698280b71506
38 changes: 25 additions & 13 deletions .github/workflows/build-timechain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,33 @@ concurrency:
cancel-in-progress: true

jobs:
setup:
runs-on: [self-hosted-timechain]
steps:
- name: Install dependencies
# NOTE: commented because deps are preinstalled
if: false
run: sudo apt-get update && sudo apt-get install -y musl-tools protobuf-compiler
- name: Install rust toolchain
run : rustup show
- name: Checkout sources
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
submodules: recursive
- name: Cache cargo registry and index
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: cargo-cache-timechain-${{ hashFiles('Cargo.lock') }}
restore-keys: cargo-cache-timechain-

build-timechain:
runs-on: [self-hosted-timechain]
needs: [setup]
strategy:
fail-fast: false
matrix:
Expand All @@ -37,28 +62,15 @@ jobs:
- profile: testnet
features: try-runtime
steps:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y musl-tools protobuf-compiler
- name: Checkout sources
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
submodules: recursive
- name: Install rust toolchain
run : rustup show
- name: Setup and cache sccache
uses: visvirial/[email protected]
with:
cache-key: sccache-timechain-${{ matrix.profile }}
- name: Cache cargo registry and index
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: cargo-cache-timechain-${{ hashFiles('Cargo.lock') }}
restore-keys: cargo-cache-timechain-
- name: Cache cargo build output
uses: actions/cache@v3
with:
Expand Down