Skip to content

Commit 340fe0e

Browse files
committed
Update CI
1 parent 1aaff30 commit 340fe0e

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- uses: actions/checkout@v6
4848
- name: Set up dependencies
4949
run: |
50-
apk add --update build-base libunwind-dev lz4-dev musl-dev python3-dev python3-dbg gdb lldb git bash perl perl-datetime build-base perl-app-cpanminus
50+
apk add --update build-base lz4-dev musl-dev python3-dev python3-dbg gdb lldb git bash perl perl-datetime build-base perl-app-cpanminus
5151
cpanm Date::Parse
5252
cpanm Capture::Tiny
5353
# Build elfutils
@@ -59,6 +59,14 @@ jobs:
5959
cd elfutils-$VERS
6060
CFLAGS='-Wno-error -DFNM_EXTMATCH=0 -g -O3' CXXFLAGS='-Wno-error -DFNM_EXTMATCH=0 -g -O3' ./configure --enable-libdebuginfod --disable-debuginfod --disable-nls --with-zstd
6161
make install
62+
# Build libunwind from source
63+
cd /
64+
LIBUNWIND_VERS=1.8.3
65+
curl -LO https://github.com/libunwind/libunwind/releases/download/v$LIBUNWIND_VERS/libunwind-$LIBUNWIND_VERS.tar.gz
66+
tar xf libunwind-$LIBUNWIND_VERS.tar.gz
67+
cd libunwind-$LIBUNWIND_VERS
68+
./configure --disable-minidebuginfo --prefix=/usr
69+
make install
6270
- name: Create virtual environment
6371
run: |
6472
python3 -m venv /venv

.github/workflows/test_uv_python.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,22 @@ jobs:
3434
sudo apt-get install -qy \
3535
pkg-config \
3636
libdebuginfod-dev \
37-
libunwind-dev \
3837
liblz4-dev \
3938
gdb \
4039
npm
4140
41+
- name: Build libunwind from source
42+
run: |
43+
cd /tmp
44+
LIBUNWIND_VERS=1.8.3
45+
curl -LO https://github.com/libunwind/libunwind/releases/download/v$LIBUNWIND_VERS/libunwind-$LIBUNWIND_VERS.tar.gz
46+
tar xf libunwind-$LIBUNWIND_VERS.tar.gz
47+
cd libunwind-$LIBUNWIND_VERS
48+
./configure --disable-minidebuginfo --prefix=/usr/local
49+
make
50+
sudo make install
51+
sudo ldconfig
52+
4253
- name: Install Python dependencies
4354
run: |
4455
uv pip install --upgrade pip cython pkgconfig

0 commit comments

Comments
 (0)