Skip to content

Commit

Permalink
Merge branch 'master' into andriy/update-qrcode
Browse files Browse the repository at this point in the history
  • Loading branch information
sesi200 authored Dec 8, 2023
2 parents 3eddcde + c384d3b commit 8c1f7ec
Show file tree
Hide file tree
Showing 32 changed files with 1,637 additions and 6,330 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/rust-counter-example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: rust-counter
on:
push:
branches:
- master
pull_request:
paths:
- rust/counter/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/rust-counter-example.yml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust-counter-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 Counter Darwin
run: |
dfx start --background
pushd rust/counter
make test
popd
rust-counter-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 Counter Linux
run: |
dfx start --background
pushd rust/counter
make test
popd
16 changes: 16 additions & 0 deletions .github/workflows/rust-counter-skip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: rust-counter
on:
pull_request:
paths-ignore:
- rust/counter/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/rust-counter-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'
4 changes: 2 additions & 2 deletions .github/workflows/rust-hello-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: bash .github/workflows/provision-darwin.sh
run: DFX_VERSION="0.15.2" bash .github/workflows/provision-darwin.sh
- name: Rust Hello Darwin
run: |
dfx start --background
Expand All @@ -30,7 +30,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
run: DFX_VERSION="0.15.2" bash .github/workflows/provision-linux.sh
- name: Rust Hello Linux
run: |
dfx start --background
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/rust-performance_counters-example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: rust-performance_counters
on:
push:
branches:
- master
pull_request:
paths:
- rust/performance_counters/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/rust-performance_counters-example.yaml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust-performance_counters-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 Performance Counters Darwin
run: |
dfx start --background
pushd rust/performance_counters
make test
popd
rust-performance_counters-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 Performance Counters Linux
run: |
dfx start --background
pushd rust/performance_counters
make test
popd
20 changes: 20 additions & 0 deletions .github/workflows/rust-performance_counters-skip.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: rust-performance_counters
on:
pull_request:
paths-ignore:
- rust/performance_counters/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/rust-performance_counters-example.yaml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust-performance_counters-example-darwin:
runs-on: ubuntu-latest
steps:
- run: echo 'Not needed - relevant folder not touched'
rust-performance_counters-example-linux:
runs-on: ubuntu-latest
steps:
- run: echo 'Not needed - relevant folder not touched'
8 changes: 2 additions & 6 deletions .github/workflows/rust-periodic_tasks-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
env:
DFX_VERSION: 0.13.1
run: bash .github/workflows/provision-darwin.sh
run: DFX_VERSION="0.15.2" bash .github/workflows/provision-darwin.sh
- name: Rust Periodic Tasks Darwin
run: |
dfx start --background
Expand All @@ -32,9 +30,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Linux
env:
DFX_VERSION: 0.13.1
run: bash .github/workflows/provision-linux.sh
run: DFX_VERSION="0.15.2" bash .github/workflows/provision-linux.sh
- name: Rust Periodic Tasks Linux
run: |
dfx start --background
Expand Down
Loading

0 comments on commit 8c1f7ec

Please sign in to comment.