Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c7997c2
feat(examples): update StrongARM sizings
rahulk29 Sep 9, 2025
67dccab
add tclkq to comparator decision and update to Rust 2024
rohanku Dec 19, 2025
e10606a
fix warnings and revert release examples
rohanku Dec 19, 2025
0fd6eae
fix warnings
rohanku Dec 20, 2025
2bc5753
fix compile error
rohanku Dec 20, 2025
98b404e
fix ref errors
rohanku Dec 20, 2025
f1f285a
fix warnings for Rust 2024
rohanku Dec 22, 2025
9bc9407
clean up CI
rohanku Jan 28, 2026
5c900a2
bump versions
rohanku Jan 28, 2026
051926c
fix tag-release action
rohanku Jan 28, 2026
e8f556a
fix deploy docs and tag release workflows
rohanku Jan 28, 2026
357397a
install cargo hack
rohanku Jan 28, 2026
0af09aa
use correct cargo hack installation action
rohanku Jan 28, 2026
c49075d
install correct rust toolchain
rohanku Jan 28, 2026
0a669fd
run format
rohanku Jan 28, 2026
4cf81db
install protoc
rohanku Jan 28, 2026
a4372bd
clean up yaml
rohanku Jan 28, 2026
e949b33
avoid compile time environment variables where appropriate
rohanku Jan 28, 2026
eca6d1c
remove unecessary installation steps
rohanku Jan 28, 2026
180b28a
consolidate path declarations and use runtime environment variables
rohanku Jan 28, 2026
19c0f45
fix workflow typo
rohanku Jan 28, 2026
7d15433
remove unused import
rohanku Jan 28, 2026
46e8369
fix compilation errors
rohanku Jan 28, 2026
45df98a
fix import formatting
rohanku Jan 28, 2026
2d1fe99
fix doc comment
rohanku Jan 28, 2026
74c77a4
fix cache-on-failure key
rohanku Jan 28, 2026
e837d77
install fontconfig for plotters library
rohanku Jan 28, 2026
e70e537
try fixing fontconfig error again
rohanku Jan 28, 2026
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
13 changes: 10 additions & 3 deletions .github/workflows/check-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,21 @@ jobs:
workspace_path: examples/release
check-docs:
name: check-docs
runs-on: bwrc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Check docs
run: |
cargo hack --all rustdoc --all-features
cargo d --no-deps --workspace --all-features --exclude tests --exclude examples
env:
RUSTFLAGS: '-D warnings'
RUSTDOCFLAGS: '-D warnings'
check-docs-site:
name: check-docs-site
Expand Down
42 changes: 28 additions & 14 deletions .github/workflows/check-workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,23 @@ env:
jobs:
lint:
name: lint
runs-on: bwrc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install fontconfig
run: |
sudo apt-get update
sudo apt-get install -y libfontconfig1-dev pkg-config
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
${{ inputs.workspace_path }}
cache-on-failure: true
- name: Check formatting
run: |
cargo fmt --check
Expand All @@ -43,16 +57,16 @@ jobs:
run: |
cargo hack clippy --feature-powerset --tests -- -D warnings
working-directory: ${{ inputs.workspace_path }}
test:
name: test
runs-on: bwrc
steps:
- uses: actions/checkout@v4
- name: Test locked
if: ${{ inputs.locked }}
run: cargo test --locked --all-features
working-directory: ${{ inputs.workspace_path }}
- name: Test
if: ${{ ! inputs.locked }}
run: cargo test --all-features
working-directory: ${{ inputs.workspace_path }}
# test:
# name: test
# runs-on: bwrc
# steps:
# - uses: actions/checkout@v4
# - name: Test locked
# if: ${{ inputs.locked }}
# run: cargo test --locked --all-features
# working-directory: ${{ inputs.workspace_path }}
# - name: Test
# if: ${{ ! inputs.locked }}
# run: cargo test --all-features
# working-directory: ${{ inputs.workspace_path }}
10 changes: 3 additions & 7 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ jobs:
uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
id: toolchain
with:
toolchain: stable
- name: Clone `cargo-workspaces`
uses: actions/checkout@v4
with:
Expand All @@ -76,8 +71,9 @@ jobs:
with:
key: ${{ steps.toolchain.outputs.cachekey }}
workspaces: |
./substrate -> target
./cargo-workspaces/cargo-workspaces -> target
./substrate
./cargo-workspaces/cargo-workspaces
cache-on-failure: true
- name: Build `cargo-workspaces`
working-directory: cargo-workspaces/cargo-workspaces
run: cargo build
Expand Down
23 changes: 19 additions & 4 deletions .github/workflows/deploy-api-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,35 @@ on:

env:
CARGO_TERM_COLOR: always
DOCS_NAME: ${{ inputs.name || github.ref.name }}
PUBLIC_DOCS_DIR: /tools/C/rahulkumar/substrate_docs_public

jobs:
deploy-api-docs:
name: Deploy API documentation
runs-on: bwrc
runs-on: ubuntu-latest
environment: docs
steps:
- uses: actions/checkout@v4
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: Swatinem/rust-cache@v2
with:
key: ${{ steps.toolchain.outputs.cachekey }}
workspaces: |
${{ inputs.workspace_path }}
cache-on-failure: true
- uses: superfly/flyctl-actions/setup-flyctl@master
with:
version: 0.3.66
- run: ./deploy.sh ${{ env.PUBLIC_DOCS_DIR }} ${{ inputs.name || github.ref_name }}
- run: ./build.sh . ${{ inputs.name || github.ref_name }}
working-directory: docs/api
- uses: actions/checkout@v4
with:
ref: refs/tags/release
- run: ./build.sh . release
working-directory: docs/api
- run: flyctl deploy --remote-only --detach
working-directory: docs/api
env:
FLY_ACCESS_TOKEN: ${{ secrets.FLY_API_TOKEN_API }}
9 changes: 6 additions & 3 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,17 @@ env:
jobs:
deploy-docs:
name: Deploy documentation
runs-on: bwrc
environment: docs
runs-on: ubuntu-latest
environment: main
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
with:
version: 0.3.66
- run: ./deploy.sh ${{ env.PUBLIC_DOCS_DIR }} ${{ inputs.name || github.ref_name }}
- uses: actions/setup-node@v3
with:
node-version: 23.x
- run: ./deploy.sh . ${{ inputs.name || github.ref_name }}
working-directory: docs/docusaurus
env:
FLY_ACCESS_TOKEN: ${{ secrets.FLY_API_TOKEN_DOCS }}
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/deploy-release-api-docs.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: tag-release

on:
pull_request_target:
types: [labeled]
branches: [main]

jobs:
tag-release:
name: Tag Release
runs-on: ubuntu-latest
if: "${{ github.event.label.name == 'autorelease: merged' }}"
steps:
- uses: actions/github-script@v5
with:
script: |
github.rest.git.updateRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'refs/tags/release',
sha: context.sha
})
Loading