Skip to content

Commit cdf3817

Browse files
authored
Merge pull request #1286 from dfinity/ielashi/receiving-icp
feat: example on receiving ICP
2 parents d78fa0d + fae41ba commit cdf3817

File tree

6 files changed

+832
-0
lines changed

6 files changed

+832
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: rust-receiving-icp
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
paths:
8+
- rust/receiving-icp/**
9+
- .github/workflows/provision-darwin.sh
10+
- .github/workflows/provision-linux.sh
11+
- .github/workflows/rust-receiving-icp-example.yml
12+
- .ic-commit
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
jobs:
17+
rust-token_transfer-darwin:
18+
runs-on: macos-15
19+
steps:
20+
- uses: actions/checkout@v2
21+
with:
22+
submodules: recursive
23+
- name: Provision Darwin
24+
run: bash .github/workflows/provision-darwin.sh
25+
- name: Rust Receiving ICP Darwin
26+
run: |
27+
pushd rust/receiving-icp
28+
cargo build
29+
popd
30+
rust-token_transfer-linux:
31+
runs-on: ubuntu-22.04
32+
steps:
33+
- uses: actions/checkout@v2
34+
with:
35+
submodules: recursive
36+
- name: Provision Linux
37+
run: bash .github/workflows/provision-linux.sh
38+
- name: Rust Receiving ICP Linux
39+
run: |
40+
pushd rust/receiving-icp
41+
cargo build
42+
popd

0 commit comments

Comments
 (0)