-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add encrypted-notes-dapp-vetkd example
- Loading branch information
Showing
76 changed files
with
25,188 additions
and
0 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
.github/workflows/motoko-encrypted-notes-vetkd-example.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: motoko-encrypted-notes | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- motoko/encrypted-notes-dapp-vetkd/** | ||
- .github/workflows/provision-darwin.sh | ||
- .github/workflows/provision-linux.sh | ||
- .github/workflows/motoko-encrypted-notes-example.yml | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
motoko-encrypted-notes-darwin: | ||
runs-on: macos-12 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Provision Darwin | ||
env: | ||
DFX_VERSION: 0.14.2 | ||
run: bash motoko/encrypted-notes-dapp-vetkd/provision-darwin.sh | ||
- name: Motoko Encrypted Notes Darwin (unit tests) | ||
run: | | ||
pushd motoko/encrypted-notes-dapp-vetkd | ||
make test-unit BUILD_ENV=motoko MATCHERS="$(dfx cache show)/motoko-matchers/src" | ||
popd | ||
- name: Motoko Encrypted Notes Darwin (e2e) | ||
run: | | ||
pushd motoko/encrypted-notes-dapp-vetkd | ||
make test-e2e BUILD_ENV=motoko | ||
popd | ||
motoko-encrypted-notes-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: Motoko Encrypted Notes Linux (unit tests) | ||
run: | | ||
pushd motoko/encrypted-notes-dapp-vetkd | ||
make test-unit BUILD_ENV=motoko MATCHERS="$(dfx cache show)/motoko-matchers/src" | ||
popd | ||
- name: Motoko Encrypted Notes Linux (e2e) | ||
run: | | ||
pushd motoko/encrypted-notes-dapp-vetkd | ||
make test-e2e BUILD_ENV=motoko | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: motoko-encrypted-notes | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
- motoko/encrypted-notes-dapp-vetkd/** | ||
- .github/workflows/provision-darwin.sh | ||
- .github/workflows/provision-linux.sh | ||
- .github/workflows/motoko-encrypted-notes-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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: rust-encrypted-notes | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- motoko/encrypted-notes-dapp-vetkd/** | ||
- .github/workflows/provision-darwin.sh | ||
- .github/workflows/provision-linux.sh | ||
- .github/workflows/rust-encrypted-notes-example.yml | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
rust-encrypted-notes-darwin: | ||
runs-on: macos-12 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Provision Darwin | ||
env: | ||
DFX_VERSION: 0.14.2 | ||
run: bash motoko/encrypted-notes-dapp-vetkd/provision-darwin.sh | ||
- name: Rust Encrypted Notes Darwin (unit tests) | ||
run: | | ||
pushd motoko/encrypted-notes-dapp-vetkd | ||
make test-unit BUILD_ENV=rust | ||
popd | ||
- name: Rust Encrypted Notes Darwin (e2e) | ||
run: | | ||
pushd motoko/encrypted-notes-dapp-vetkd | ||
make test-e2e BUILD_ENV=rust | ||
popd | ||
rust-encrypted-notes-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 Encrypted Notes Linux (unit tests) | ||
run: | | ||
pushd motoko/encrypted-notes-dapp-vetkd | ||
make test-unit BUILD_ENV=rust | ||
popd | ||
- name: Rust Encrypted Notes Linux (e2e) | ||
run: | | ||
pushd motoko/encrypted-notes-dapp-vetkd | ||
make test-e2e BUILD_ENV=rust | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: rust-encrypted-notes | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
- rust/encrypted-notes-dapp-vetkd/** | ||
- .github/workflows/provision-darwin.sh | ||
- .github/workflows/provision-linux.sh | ||
- .github/workflows/rust-encrypted-notes-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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
**/node_modules | ||
/.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
dist | ||
**/node_modules | ||
**/*.dfx | ||
**/*.idea | ||
**/*.wasm | ||
!vetkd_user_lib/*.wasm | ||
!internet_identity.wasm | ||
!vetkd_system_api.wasm | ||
src/declarations | ||
src/frontend/declarations | ||
src/frontend/public/build/* | ||
src/encrypted_notes_rust/target | ||
**/target | ||
# Generated files | ||
dfx.json | ||
src/frontend/src/lib/backend.ts | ||
src/frontend/src/lib/idlFactory.js |
Oops, something went wrong.