Skip to content

Commit 2904831

Browse files
author
Jason I
committed
chore: add CI jobs
1 parent 23d1d9e commit 2904831

File tree

2 files changed

+86
-0
lines changed

2 files changed

+86
-0
lines changed
+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: motoko-query-stats
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
paths:
8+
- motoko/query_stats/**
9+
- .github/workflows/provision-darwin.sh
10+
- .github/workflows/provision-linux.sh
11+
- .github/workflows/motoko-query-stats.yaml
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
jobs:
16+
rust-basic-bitcoin-darwin:
17+
runs-on: macos-12
18+
steps:
19+
- uses: actions/checkout@v2
20+
with:
21+
submodules: recursive
22+
- name: Provision Darwin
23+
run: bash .github/workflows/provision-darwin.sh
24+
- name: Motoko Query Stats Darwin
25+
run: |
26+
dfx start --background
27+
pushd motoko/query_stats
28+
dfx deploy query_stats
29+
popd
30+
rust-basic-bitcoin-linux:
31+
runs-on: ubuntu-20.04
32+
steps:
33+
- uses: actions/checkout@v2
34+
with:
35+
submodules: recursive
36+
- name: Provision Linux
37+
run: bash .github/workflows/provision-linux.sh
38+
- name: Motoko Query Stats Linux
39+
run: |
40+
dfx start --background
41+
pushd motoko/query_stats
42+
dfx deploy query_stats
43+
popd
+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: rust-query-stats
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
paths:
8+
- rust/query_stats/**
9+
- .github/workflows/provision-darwin.sh
10+
- .github/workflows/provision-linux.sh
11+
- .github/workflows/rust-query-stats.yaml
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
jobs:
16+
rust-basic-bitcoin-darwin:
17+
runs-on: macos-12
18+
steps:
19+
- uses: actions/checkout@v2
20+
with:
21+
submodules: recursive
22+
- name: Provision Darwin
23+
run: bash .github/workflows/provision-darwin.sh
24+
- name: Rust Query Stats Darwin
25+
run: |
26+
dfx start --background
27+
pushd rust/query_stats
28+
dfx deploy query_stats
29+
popd
30+
rust-basic-bitcoin-linux:
31+
runs-on: ubuntu-20.04
32+
steps:
33+
- uses: actions/checkout@v2
34+
with:
35+
submodules: recursive
36+
- name: Provision Linux
37+
run: bash .github/workflows/provision-linux.sh
38+
- name: Rust Query Stats Linux
39+
run: |
40+
dfx start --background
41+
pushd rust/query_stats
42+
dfx deploy query_stats
43+
popd

0 commit comments

Comments
 (0)