1616 title : " pyroscope-${{ github.ref_name }}"
1717 draft : true
1818 prerelease : false
19+ clibuilder-release :
20+ name : clibuilder-release
21+ runs-on : ubuntu-latest
22+ if : " startsWith(github.ref, 'refs/tags/clibuilder-')"
23+ steps :
24+ - uses : actions/checkout@v3
25+ with :
26+ submodules : recursive
27+ - uses : docker/login-action@v2
28+ name : Login to Docker Hub
29+ with :
30+ username : ${{ secrets.DOCKERHUB_USERNAME }}
31+ password : ${{ secrets.DOCKERHUB_PASSWORD }}
32+ - run : docker buildx create --use
33+ - run : make -C docker push_cli_builder
34+ manylinux-release :
35+ name : manylinux-release
36+ runs-on : ubuntu-latest
37+ if : " startsWith(github.ref, 'refs/tags/manylinux-')"
38+ steps :
39+ - uses : actions/checkout@v3
40+ with :
41+ submodules : recursive
42+ - uses : docker/login-action@v2
43+ name : Login to Docker Hub
44+ with :
45+ username : ${{ secrets.DOCKERHUB_USERNAME }}
46+ password : ${{ secrets.DOCKERHUB_PASSWORD }}
47+ - run : docker buildx create --use
48+ - run : make -C docker push_aarch64 push_x86_64
49+
1950 cli-release :
2051 name : pyroscope-cli
2152 runs-on : ubuntu-latest
@@ -101,7 +132,7 @@ jobs:
101132 fail-fast : false
102133 matrix :
103134 build-arch :
104- - manylinux2010_x86_64
135+ - manylinux2014_x86_64
105136
106137 name : Linux - ${{ matrix.build-arch }}
107138 runs-on : ubuntu-latest
@@ -112,11 +143,6 @@ jobs:
112143 with :
113144 submodules : recursive
114145
115- - if : matrix.build-arch == 'manylinux2014_aarch64'
116- uses : docker/setup-qemu-action@v1
117- with :
118- platforms : arm64
119-
120146 - name : Build in Docker
121147 run : pyroscope_ffi/python/scripts/docker.sh
122148 env :
@@ -297,7 +323,7 @@ jobs:
297323 working-directory : pyroscope_ffi/ruby
298324
299325 - name : Generate extra libraries
300- run : BUILD_ARCH=manylinux2010_x86_64 ./pyroscope_ffi/ruby/scripts/docker.sh
326+ run : BUILD_ARCH=manylinux2014_x86_64 ./pyroscope_ffi/ruby/scripts/docker.sh
301327
302328 - name : Copy generated extra libraries
303329 run : mkdir -p lib/thread_id && cp ext/thread_id/target/release/libthread_id.so lib/thread_id/thread_id.so
0 commit comments