Skip to content

Commit 8c9786c

Browse files
committed
wip: ci/publish actions
1 parent 1c6ea13 commit 8c9786c

File tree

10 files changed

+65
-6
lines changed

10 files changed

+65
-6
lines changed

Cross.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[target.x86_64-unknown-linux-musl]
2+
image = "omarabid/pyroscope-cli:x86_64-unknown-linux-musl"
3+
4+
[target.arm-unknown-linux-gnueabihf]
5+
image = "omarabid/pyroscope-cli:arm-unknown-linux-gnueabihf"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM rustembedded/cross:x86_64-unknown-linux-musl
2+
3+
COPY stage/ubuntu-install-packages /
4+
RUN /ubuntu-install-packages
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
mkdir -p stage
4+
cp ../../ubuntu-install-packages ./stage/
5+
docker build -t omarabid/pyroscope-cli:x86_64-unknown-linux-musl .
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
if ! command -V sudo; then
4+
apt-get update
5+
apt-get install -y --no-install-recommends sudo
6+
fi
7+
sudo apt-get update
8+
sudo apt-get install -y --no-install-recommends \
9+
libunwind8-dev

ci/macos-install-packages

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#!/bin/sh

ci/ubuntu-install-packages

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
if ! command -V sudo; then
4+
apt-get update
5+
apt-get install -y --no-install-recommends sudo
6+
fi
7+
sudo apt-get update
8+
sudo apt-get install -y --no-install-recommends \
9+
libunwind8-dev
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1-
# pprof-rs
1+
# pyroscope_pprofrs
22

3-
Backend implementation for [pprof-rs](https://github.com/tikv/pprof-rs).
3+
Backend implementation for [pprof-rs](https://github.com/tikv/pprof-rs). For more information,
4+
check [Pyroscope](https://github.com/pyroscope-io/pyroscope-rs) main library.
5+
6+
### License
7+
8+
Pyroscope is distributed under the Apache License (Version 2.0).
9+
10+
See [LICENSE](LICENSE) for details.
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1-
#pyspy
1+
# pyroscope_pyspy
22

3-
Backend implementation for [pyspy](https://github.com/benfred/py-spy)
3+
Backend implementation for [pyspy](https://github.com/benfred/py-spy). For more information,
4+
check [Pyroscope](https://github.com/pyroscope-io/pyroscope-rs) main library.
5+
6+
### License
7+
8+
Pyroscope is distributed under the Apache License (Version 2.0).
9+
10+
See [LICENSE](LICENSE) for details.
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1-
#rbspy
1+
# pyroscope_rbspy
22

3-
Backend implementation for [rbspy](https://github.com/rbspy/rbspy)
3+
Backend implementation for [rbspy](https://rbspy.github.io/). For more information,
4+
check [Pyroscope](https://github.com/pyroscope-io/pyroscope-rs) main library.
5+
6+
### License
7+
8+
Pyroscope is distributed under the Apache License (Version 2.0).
9+
10+
See [LICENSE](LICENSE) for details.

pyroscope_cli/Cross.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[target.x86_64-unknown-linux-musl]
2+
image = "omarabid/pyroscope-cli:x86_64-unknown-linux-musl"
3+
4+
[target.arm-unknown-linux-gnueabihf]
5+
image = "omarabid/pyroscope-cli:arm-unknown-linux-gnueabihf"

0 commit comments

Comments
 (0)