Skip to content

Commit

Permalink
Merge pull request #881 from oggy-dfin/parallel_calls_rust
Browse files Browse the repository at this point in the history
Parallel inter-canister calls in Rust
  • Loading branch information
jessiemongeon1 authored Jun 7, 2024
2 parents 164a58e + fbd72f3 commit a811d71
Show file tree
Hide file tree
Showing 19 changed files with 2,359 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
/rust/icp_transfer/ @dfinity/growth
/rust/image-classification/ @dfinity/runtime
/rust/nft-wallet/ @dfinity/growth
/rust/parallel_calls/ @dfinity/research
/rust/performance_counters/ @dfinity/runtime
/rust/periodic_tasks/ @dfinity/runtime
/rust/pub-sub/ @dfinity/growth
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/rust-parallel-calls-example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: rust-parallel-calls
on:
push:
branches:
- master
pull_request:
paths:
- rust/parallel-calls/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/rust-parallel-calls-example.yml
- .ic-commit
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust-parallel-calls-darwin:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Provision Darwin
run: bash .github/workflows/provision-darwin.sh
- name: Rust Parallel-Calls Darwin
run: |
pushd rust/parallel_calls
dfx start --background
make test
popd
rust-parallel-calls-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Rust Parallel-Calls Linux
run: |
pushd rust/parallel_calls
dfx start --background
make test
popd
Loading

0 comments on commit a811d71

Please sign in to comment.