Skip to content

Commit

Permalink
Merge branch 'A0-3393' of github.com:Cardinal-Cryptography/aleph-node…
Browse files Browse the repository at this point in the history
… into A0-3393
  • Loading branch information
kostekIV committed Nov 29, 2023
2 parents d2b883f + 7647eed commit a1f2271
Show file tree
Hide file tree
Showing 46 changed files with 6,635 additions and 1,403 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/_build-production-node-and-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ jobs:
- name: Build production binary and runtime
run: cargo build --profile production -p aleph-node

- name: Ensure liminal symbols are not present
run: |
nm --demangle=rust target/production/aleph-node | grep -q liminal \
&& { echo "Liminal symbols are present"; exit 1; } \
|| echo "Liminal symbols are not present"
- name: Upload release binary to GH artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/_build-test-node-and-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ jobs:
- name: Build test binary and runtime
run: |
cargo build --release -p aleph-node \
--features "short_session enable_treasury_proposals only_legacy"
--features "short_session enable_treasury_proposals only_legacy"
- name: Ensure liminal symbols are not present
run: |
nm --demangle=rust target/production/aleph-node | grep -q liminal \
&& { echo "Liminal symbols are present"; exit 1; } \
|| echo "Liminal symbols are not present"
- name: Upload test binary to GH Artifacts
uses: actions/upload-artifact@v3
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/_unit-tests-and-static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
command: clippy
args: --all-targets -- --no-deps -D warnings

- name: Run clippy for baby liminal chain extension
working-directory: baby-liminal-extension
run: make clippy

unit-tests:
name: Run unit tests
runs-on: [self-hosted, Linux, X64, large]
Expand All @@ -47,5 +51,12 @@ jobs:
command: test
args: -- --skip clique_network

- name: Install Nightly Rust Toolchain (for unstable features in tests)
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4
with:
channel: nightly-2023-05-22-unknown-linux-gnu
targets: wasm32-unknown-unknown

- name: Run tests for baby liminal chain extension
run: cd baby-liminal-extension && make test-frontend
working-directory: baby-liminal-extension
run: make test
2 changes: 2 additions & 0 deletions .github/workflows/deploy-to-devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ name: Deploy to Devnet

on:
workflow_dispatch:
schedule:
- cron: '00 00 * * *'

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
Expand Down
9 changes: 9 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a1f2271

Please sign in to comment.