Skip to content

Commit

Permalink
Run musl CI tests using LLDB (#4456)
Browse files Browse the repository at this point in the history
We updated our alpine version so I decided to see if we could use LLDB
instead of GDB for our debugger. And yes, we can now without a hanging.

I'm leaving GDB in the image for now in case we need to switch back.

Closes #4176
  • Loading branch information
SeanTAllen authored Oct 10, 2023
1 parent d54804f commit ae98d4b
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN apk update \
curl \
py3-pip \
gdb \
lldb \
&& pip install cloudsmith-cli

# add user pony in order to not run tests as root
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightlies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: x86-64-unknown-linux-ubuntu20.04
triple-os: linux-ubuntu20.04
triple-vendor: unknown
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20231003
name: x86-64-unknown-linux-musl
triple-os: linux-musl
triple-vendor: unknown
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ jobs:
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230924
name: x86-64 Linux glibc
debugger: lldb
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20231003
name: x86-64 Linux musl
debugger: gdb
debugger: lldb

name: ${{ matrix.name }}
container:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
name: x86-64-unknown-linux-ubuntu20.04
triple-os: linux-ubuntu20.04
triple-vendor: unknown
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20231003
name: x86-64-unknown-linux-musl
triple-os: linux-musl
triple-vendor: unknown
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/stress-test-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@ jobs:
name: x86-64-unknown-linux-ubuntu22.04 [cd] [debug]
target: test-stress-with-cd-debug
debugger: lldb
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20231003
name: x86-64-unknown-linux-musl [release]
target: test-stress-release
debugger: gdb
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
debugger: lldb
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20231003
name: x86-64-unknown-linux-musl [debug]
target: test-stress-debug
debugger: gdb
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
debugger: lldb
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20231003
name: x86-64-unknown-linux-musl [cd] [release]
target: test-stress-with-cd-release
debugger: gdb
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
debugger: lldb
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20231003
name: x86-64-unknown-linux-musl [cd] [debug]
target: test-stress-with-cd-debug
debugger: gdb
debugger: lldb

name: ${{ matrix.name }}
container:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-lib-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
include:
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230924
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230830
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20231003
- image: ghcr.io/ponylang/ponyc-ci-cross-riscv64:20230830
- image: ghcr.io/ponylang/ponyc-ci-cross-arm:20230830
- image: ghcr.io/ponylang/ponyc-ci-cross-armhf:20230830
Expand Down

0 comments on commit ae98d4b

Please sign in to comment.