Skip to content

Commit

Permalink
Add a motoko icrc2-swap example CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAegir committed Nov 3, 2023
1 parent 9d1c365 commit 55672bc
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/motoko-icrc2-swap-example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: motoko-icrc2-swap
on:
push:
branches:
- master
pull_request:
paths:
- motoko/icrc2-swap/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/motoko-icrc2-swap-example.yaml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
motoko-icrc2-swap-darwin:
runs-on: macos-12
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: bash .github/workflows/provision-darwin.sh
- name: Motoko Threshold ECDSA Darwin
run: |
dfx start --background
pushd motoko/icrc2-swap
npm install
sleep 10
make test
motoko-icrc2-swap-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Motoko Threshold ECDSA Linux
run: |
dfx start --background
pushd motoko/icrc2-swap
npm install
sleep 10
make test

0 comments on commit 55672bc

Please sign in to comment.