Skip to content

Commit 2aa1f6b

Browse files
authored
chore: update rbspy to 16.0 (#82)
1 parent b14f758 commit 2aa1f6b

File tree

20 files changed

+1220
-955
lines changed

20 files changed

+1220
-955
lines changed

.github/workflows/ci-backend-pprofrs.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
name: CI pprof-rs Backend
22

3-
on:
3+
on:
44
push:
5-
paths:
6-
- 'pyroscope_backends/pyroscope_pprofrs/**'
7-
- '.github/workflows/ci-backend-pprof.yml'
8-
branches:
9-
- '**'
5+
branches: [main]
106
pull_request:
11-
paths:
12-
- 'pyroscope_backends/pyroscope_pprofrs/**'
13-
- '.github/workflows/ci-backend-pprof.yml'
14-
branches:
15-
- '**'
7+
branches: [main]
168

179
jobs:
1810
build:
@@ -38,7 +30,9 @@ jobs:
3830
run: sudo apt install libunwind8-dev
3931

4032
- name: Checkout sources
41-
uses: actions/checkout@v2
33+
uses: actions/checkout@v3
34+
with:
35+
submodules: recursive
4236

4337
- name: Install stable toolchain
4438
uses: omarabid-forks/rs-toolchain@v1

.github/workflows/ci-backend-pyspy.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
name: CI Pyspy Backend
22

3-
on:
3+
on:
44
push:
5-
paths:
6-
- 'pyroscope_backends/pyroscope_pyspy/**'
7-
- '.github/workflows/ci-backend-pyspy.yml'
8-
branches:
9-
- '**'
5+
branches: [main]
106
pull_request:
11-
paths:
12-
- 'pyroscope_backends/pyroscope_pyspy/**'
13-
- '.github/workflows/ci-backend-pyspy.yml'
14-
branches:
15-
- '**'
7+
branches: [main]
168

179
jobs:
1810
build:
@@ -38,7 +30,9 @@ jobs:
3830
run: sudo apt install libunwind8-dev
3931

4032
- name: Checkout sources
41-
uses: actions/checkout@v2
33+
uses: actions/checkout@v3
34+
with:
35+
submodules: recursive
4236

4337
- name: Install stable toolchain
4438
uses: omarabid-forks/rs-toolchain@v1
@@ -68,7 +62,9 @@ jobs:
6862
target: [x86_64-pc-windows-gnu]
6963
steps:
7064
- name: Checkout sources
71-
uses: actions/checkout@v2
65+
uses: actions/checkout@v3
66+
with:
67+
submodules: recursive
7268

7369
- name: Install stable toolchain
7470
uses: omarabid-forks/rs-toolchain@v1

.github/workflows/ci-backend-rbspy.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
name: CI Rbspy Backend
22

3-
on:
3+
on:
44
push:
5-
paths:
6-
- 'pyroscope_backends/pyroscope_rbspy/**'
7-
- '.github/workflows/ci-backend-rbspy.yml'
8-
branches:
9-
- '**'
5+
branches: [main]
106
pull_request:
11-
paths:
12-
- 'pyroscope_backends/pyroscope_rbspy/**'
13-
- '.github/workflows/ci-backend-rbspy.yml'
14-
branches:
15-
- '**'
7+
branches: [main]
168

179
jobs:
1810
build:
@@ -33,7 +25,9 @@ jobs:
3325
target: aarch64-unknown-linux-gnu
3426
steps:
3527
- name: Checkout sources
36-
uses: actions/checkout@v2
28+
uses: actions/checkout@v3
29+
with:
30+
submodules: recursive
3731

3832
- name: Install stable toolchain
3933
uses: omarabid-forks/rs-toolchain@v1

.github/workflows/ci-cli.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
1-
name: CI CLI
1+
name: CI CLI
22

3-
on:
3+
on:
44
push:
5-
paths:
6-
- 'pyroscope_cli/**'
7-
- '.github/workflows/ci-cli.yml'
8-
branches:
9-
- '**'
5+
branches: [main]
106
pull_request:
11-
paths:
12-
- 'pyroscope_cli/**'
13-
- '.github/workflows/ci-cli.yml'
14-
branches:
15-
- '**'
7+
branches: [main]
168

179

1810
jobs:
@@ -39,7 +31,9 @@ jobs:
3931
run: sudo apt install libunwind8-dev
4032

4133
- name: Checkout sources
42-
uses: actions/checkout@v2
34+
uses: actions/checkout@v3
35+
with:
36+
submodules: recursive
4337

4438
- name: Install stable toolchain
4539
uses: omarabid-forks/rs-toolchain@v1

.github/workflows/ci-ffi-python.yml

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
11
name: Python Package
22

33
on:
4-
workflow_dispatch:
54
push:
6-
paths:
7-
- 'pyroscope_ffi/python/**'
8-
- '.github/workflows/ci-ffi-python.yml'
9-
branches:
10-
- '**'
5+
branches: [main]
116
pull_request:
12-
paths:
13-
- 'pyroscope_ffi/python/**'
14-
- '.github/workflows/ci-ffi-python.yml'
15-
branches:
16-
- '**'
7+
branches: [main]
178

189
jobs:
1910
linux-build:
@@ -28,7 +19,7 @@ jobs:
2819

2920
steps:
3021
- uses: AutoModality/action-clean@v1
31-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v3
3223
with:
3324
submodules: recursive
3425

@@ -73,7 +64,7 @@ jobs:
7364

7465
- run: "cd ${{ github.workspace }}/python && ls -l"
7566
- run: "cd ${{ github.workspace }}/python && pip install *.whl"
76-
- uses: actions/checkout@v2
67+
- uses: actions/checkout@v3
7768
with:
7869
submodules: recursive
7970
- run: python pyroscope_ffi/python/scripts/tests/test.py
@@ -90,7 +81,7 @@ jobs:
9081

9182
steps:
9283
- uses: AutoModality/action-clean@v1
93-
- uses: actions/checkout@v2
84+
- uses: actions/checkout@v3
9485
with:
9586
submodules: recursive
9687

@@ -120,7 +111,9 @@ jobs:
120111
runs-on: macos-${{ matrix.macos-version }}
121112

122113
steps:
123-
- uses: actions/checkout@v2
114+
- uses: actions/checkout@v3
115+
with:
116+
submodules: recursive
124117

125118
- uses: actions-rs/toolchain@v1
126119
with:
@@ -177,7 +170,7 @@ jobs:
177170
run: "cd ${{ github.workspace }}/python && pip install *.whl"
178171
env:
179172
SYSTEM_VERSION_COMPAT: 0
180-
- uses: actions/checkout@v2
173+
- uses: actions/checkout@v3
181174
with:
182175
submodules: recursive
183176
- run: python pyroscope_ffi/python/scripts/tests/test.py
@@ -196,7 +189,7 @@ jobs:
196189
# runs-on: windows-${{ matrix.windows-version }}
197190
#
198191
# steps:
199-
# - uses: actions/checkout@v2
192+
# - uses: actions/checkout@v3
200193
#
201194
# - uses: actions-rs/toolchain@v1
202195
# with:
@@ -253,7 +246,7 @@ jobs:
253246
# - run: |
254247
# cd ${{ github.workspace }}/python
255248
# foreach($file in Get-ChildItem -Filter *.whl){pip install $file}
256-
# - uses: actions/checkout@v2
249+
# - uses: actions/checkout@v3
257250
# with:
258251
# submodules: recursive
259252
# - run: python pyroscope_ffi/python/scripts/tests/test.py
@@ -264,7 +257,9 @@ jobs:
264257

265258
steps:
266259
- uses: AutoModality/action-clean@v1
267-
- uses: actions/checkout@v2
260+
- uses: actions/checkout@v3
261+
with:
262+
submodules: recursive
268263

269264
- uses: actions/setup-python@v4
270265
with:

.github/workflows/ci-ffi-ruby.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,9 @@ name: Ruby Package
22

33
on:
44
push:
5-
paths:
6-
- 'pyroscope_ffi/ruby/**'
7-
- '.github/workflows/ci-ffi-ruby.yml'
8-
branches:
9-
- '**'
5+
branches: [main]
106
pull_request:
11-
paths:
12-
- 'pyroscope_ffi/ruby/**'
13-
- '.github/workflows/ci-ffi-ruby.yml'
14-
branches:
15-
- '**'
7+
branches: [main]
168

179
jobs:
1810
linux-build:
@@ -28,7 +20,9 @@ jobs:
2820

2921
steps:
3022
- uses: AutoModality/action-clean@v1
31-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v3
24+
with:
25+
submodules: recursive
3226

3327
- uses: ruby/setup-ruby@v1
3428
with:
@@ -91,7 +85,7 @@ jobs:
9185
path: "${{github.workspace}}/ruby"
9286
- run: "cd ${{ github.workspace }}/ruby && ls -l"
9387
- run: "cd ${{ github.workspace }}/ruby && gem install *.gem"
94-
- uses: actions/checkout@v2
88+
- uses: actions/checkout@v3
9589
with:
9690
submodules: recursive
9791
- name: Run Ruby Script
@@ -118,7 +112,7 @@ jobs:
118112
#steps:
119113
#- uses: AutoModality/action-clean@v1
120114

121-
#- uses: actions/checkout@v2
115+
#- uses: actions/checkout@v3
122116

123117
#- name: Install bundles
124118
#run: bundle
@@ -175,7 +169,9 @@ jobs:
175169
RUST_TARGET: ${{ matrix.target }}
176170

177171
steps:
178-
- uses: actions/checkout@v2
172+
- uses: actions/checkout@v3
173+
with:
174+
submodules: recursive
179175

180176
- uses: actions-rs/toolchain@v1
181177
with:
@@ -243,7 +239,7 @@ jobs:
243239
path: "${{github.workspace}}/ruby"
244240
- run: "cd ${{ github.workspace }}/ruby && ls -l"
245241
- run: "cd ${{ github.workspace }}/ruby && gem install *.gem"
246-
- uses: actions/checkout@v2
242+
- uses: actions/checkout@v3
247243
with:
248244
submodules: recursive
249245
- name: Run Ruby Script
@@ -262,7 +258,7 @@ jobs:
262258

263259
#steps:
264260
#- uses: AutoModality/action-clean@v1
265-
#- uses: actions/checkout@v2
261+
#- uses: actions/checkout@v3
266262

267263
#- uses: ruby/setup-ruby@v1
268264
#with:

.github/workflows/ci.yml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
1-
name: CI
1+
name: CI
22

3-
on:
3+
on:
44
push:
5-
paths:
6-
- 'src/**'
7-
- 'tests/**'
8-
- '.github/workflows/ci.yml'
9-
branches:
10-
- '**'
5+
branches: [main]
116
pull_request:
12-
paths:
13-
- 'src/**'
14-
- 'tests/**'
15-
- '.github/workflows/ci.yml'
16-
branches:
17-
- '**'
7+
branches: [main]
188

199
jobs:
2010
build:
@@ -41,7 +31,9 @@ jobs:
4131
run: sudo apt install libunwind8-dev
4232

4333
- name: Checkout sources
44-
uses: actions/checkout@v2
34+
uses: actions/checkout@v3
35+
with:
36+
submodules: recursive
4537

4638
- name: Install stable toolchain
4739
uses: omarabid-forks/rs-toolchain@v1
@@ -114,7 +106,9 @@ jobs:
114106
run: sudo apt install libunwind8-dev
115107

116108
- name: Checkout sources
117-
uses: actions/checkout@v2
109+
uses: actions/checkout@v3
110+
with:
111+
submodules: recursive
118112

119113
- name: Install stable toolchain
120114
uses: omarabid-forks/rs-toolchain@v1

0 commit comments

Comments
 (0)