Skip to content

Commit 6481016

Browse files
ci
1 parent 4731441 commit 6481016

File tree

3 files changed

+45
-34
lines changed

3 files changed

+45
-34
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
/rust/backend_wasm64/ @dfinity/sdk
6060
/rust/canister-info/ @dfinity/execution
6161
/rust/canister-snapshots/ @dfinity/execution
62+
/rust/canister-snapshot-download/ @dfinity/execution
6263
/rust/canister_logs/ @dfinity/execution
6364
/rust/composite_query/ @dfinity/execution
6465
/rust/counter/ @dfinity/growth
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: rust-canister-snapshot-download
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
paths:
8+
- rust/canister-snapshot-download/**
9+
- .github/workflows/provision-darwin.sh
10+
- .github/workflows/provision-linux.sh
11+
- .github/workflows/rust-canister-snapshot-download-example.yaml
12+
- .ic-commit
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
jobs:
17+
rust-canister-snapshot-download-example-darwin:
18+
runs-on: macos-15
19+
steps:
20+
- uses: actions/checkout@v1
21+
- name: Provision Darwin
22+
run: bash .github/workflows/provision-darwin.sh
23+
- name: Remove networks.json
24+
run: rm -f ~/.config/dfx/networks.json
25+
- name: Rust Canister Snapshots Darwin
26+
run: |
27+
dfx start --background
28+
pushd rust/canister-snapshot-download
29+
./run.sh
30+
popd
31+
rust-canister-snapshot-download-example-linux:
32+
runs-on: ubuntu-22.04
33+
steps:
34+
- uses: actions/checkout@v1
35+
- name: Provision Linux
36+
run: bash .github/workflows/provision-linux.sh
37+
- name: Remove networks.json
38+
run: rm -f ~/.config/dfx/networks.json
39+
- name: Rust Canister Snapshots Linux
40+
run: |
41+
dfx start --background
42+
pushd rust/canister-snapshot-download
43+
./run.sh
44+
popd

rust/canister-snapshot-download/Makefile

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)