Skip to content

Commit

Permalink
Merge pull request #564 from dfinity/franzstefan/vetkd-system-api-demo
Browse files Browse the repository at this point in the history
Add vetKD system API demo
  • Loading branch information
sesi200 authored Jul 10, 2023
2 parents 75c655b + 86b1aba commit 6925130
Show file tree
Hide file tree
Showing 28 changed files with 7,195 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/rust-vetkd-example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: rust-vetkd
on:
push:
branches:
- master
pull_request:
paths:
- rust/vetkd/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/rust-vetkd-example.yml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust-vetkd-darwin:
runs-on: macos-12
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
env:
DFX_VERSION: 0.14.2
run: bash .github/workflows/provision-darwin.sh
- name: Rust vetKD Darwin
run: |
dfx start --background
pushd rust/vetkd
make test
popd
rust-vetkd-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Provision Linux
env:
DFX_VERSION: 0.14.2
run: bash .github/workflows/provision-linux.sh
- name: Rust vetKD Linux
run: |
dfx start --background
pushd rust/vetkd
make test
popd
16 changes: 16 additions & 0 deletions .github/workflows/rust-vetkd-skip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: rust-vetkd
on:
pull_request:
paths-ignore:
- rust/vetkd/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/rust-vetkd-example.yml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo 'Not needed - relevant folder not touched'
24 changes: 24 additions & 0 deletions rust/vetkd/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Various IDEs and Editors
.vscode/
.idea/
**/*~

# Mac OSX temporary files
.DS_Store
**/.DS_Store

# dfx temporary files
.dfx/

# rust
target/

# generated files
src/declarations/

# frontend code
node_modules/
dist/

# environment variables
.env
Loading

0 comments on commit 6925130

Please sign in to comment.