Skip to content

Commit

Permalink
Merge pull request #634 from dfinity-berestovskyy/andriy/update-qrcode
Browse files Browse the repository at this point in the history
Update `rust/qrcode` example
  • Loading branch information
sesi200 authored Dec 8, 2023
2 parents c384d3b + 8c1f7ec commit eb1507c
Show file tree
Hide file tree
Showing 11 changed files with 1,084 additions and 3,547 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/rust-qrcode-example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: rust-qrcode
on:
push:
branches:
- master
pull_request:
paths:
- rust/qrcode/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/rust-qrcode-example.yaml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust-qrcode-example-darwin:
runs-on: macos-12
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: DFX_VERSION="0.15.2" bash .github/workflows/provision-darwin.sh
- name: Rust QRCode Darwin
run: |
dfx start --background
pushd rust/qrcode
make test
popd
rust-qrcode-example-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: DFX_VERSION="0.15.2" bash .github/workflows/provision-linux.sh
- name: Rust QRCode Linux
run: |
dfx start --background
pushd rust/qrcode
make test
popd
20 changes: 20 additions & 0 deletions .github/workflows/rust-qrcode-skip.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: rust-qrcode
on:
pull_request:
paths-ignore:
- rust/qrcode/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/rust-qrcode-example.yaml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust-qrcode-example-darwin:
runs-on: ubuntu-latest
steps:
- run: echo 'Not needed - relevant folder not touched'
rust-qrcode-example-linux:
runs-on: ubuntu-latest
steps:
- run: echo 'Not needed - relevant folder not touched'
Loading

0 comments on commit eb1507c

Please sign in to comment.