Skip to content

Commit 9372bf9

Browse files
syoyoclaude
andcommitted
Remove gdb/lldb debugging from ARM64 CI now that segfault is fixed
Revert to running tusdcat directly without debuggers. The ARM64 pointer sign-extension bug has been fixed in the previous commit. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent fc2b471 commit 9372bf9

File tree

1 file changed

+26
-38
lines changed

1 file changed

+26
-38
lines changed

.github/workflows/linux_ci.yml

Lines changed: 26 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,8 @@ jobs:
156156
run: |
157157
lscpu
158158
cat /proc/cpuinfo
159-
- name: install gdb
160-
run: sudo apt-get update && sudo apt-get install -y gdb
161-
- name: configure with debug
162-
run: |
163-
mkdir -p build
164-
cd build && CXX=g++ CC=gcc cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MAKEFILE=1 ..
159+
- name: configure
160+
run: CXX=g++ CC=gcc ./scripts/bootstrap-cmake-linux.sh
165161
- name: make
166162
run: cd build && make
167163

@@ -172,20 +168,17 @@ jobs:
172168
path: build/tusdcat
173169
retention-days: 7
174170

175-
# Dedicated USDC tests for files that have shown issues on ARM64 - run under gdb to catch segfault
176-
- name: test usdc timesamples files with gdb
171+
# Dedicated USDC tests for files that have shown issues on ARM64
172+
- name: test usdc timesamples files
177173
run: |
178-
echo "Testing USDC timesamples files with tusdcat under gdb..."
179-
for f in tests/usdc/timesamples-array-vec2f-001.usdc \
180-
tests/usdc/timesamples-array-float-001.usdc \
181-
tests/usdc/timesamples-array-int-001.usdc \
182-
tests/usdc/timesamples-array-dedup-002.usdc \
183-
tests/usdc/timesamples-array-dedup-001.usdc \
184-
tests/usdc/timesamples-array-double-001.usdc; do
185-
echo "=== Testing $f ==="
186-
gdb -batch -ex "run" -ex "bt full" -ex "quit" --args ./build/tusdcat "$f"
187-
done
188-
echo "All USDC timesamples tests completed."
174+
echo "Testing USDC timesamples files with tusdcat..."
175+
./build/tusdcat tests/usdc/timesamples-array-vec2f-001.usdc
176+
./build/tusdcat tests/usdc/timesamples-array-float-001.usdc
177+
./build/tusdcat tests/usdc/timesamples-array-int-001.usdc
178+
./build/tusdcat tests/usdc/timesamples-array-dedup-002.usdc
179+
./build/tusdcat tests/usdc/timesamples-array-dedup-001.usdc
180+
./build/tusdcat tests/usdc/timesamples-array-double-001.usdc
181+
echo "All USDC timesamples tests passed."
189182
190183
- name: tests
191184
run: cd build && ctest --output-on-failure
@@ -202,16 +195,14 @@ jobs:
202195
lscpu
203196
cat /proc/cpuinfo
204197
# Install recent Clang from LLVM apt repository
205-
- name: install clang-21 and lldb
198+
- name: install clang-21
206199
run: |
207200
wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
208201
sudo add-apt-repository -y "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-21 main"
209202
sudo apt-get update
210-
sudo apt-get install -y clang-21 lldb-21
211-
- name: configure with debug
212-
run: |
213-
mkdir -p build
214-
cd build && CXX=clang++-21 CC=clang-21 cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MAKEFILE=1 ..
203+
sudo apt-get install -y clang-21
204+
- name: configure
205+
run: CXX=clang++-21 CC=clang-21 ./scripts/bootstrap-cmake-linux.sh
215206
- name: make
216207
run: cd build && make
217208

@@ -222,20 +213,17 @@ jobs:
222213
path: build/tusdcat
223214
retention-days: 7
224215

225-
# Dedicated USDC tests for files that have shown issues on ARM64 - run under lldb to catch segfault
226-
- name: test usdc timesamples files with lldb
216+
# Dedicated USDC tests for files that have shown issues on ARM64
217+
- name: test usdc timesamples files
227218
run: |
228-
echo "Testing USDC timesamples files with tusdcat under lldb..."
229-
for f in tests/usdc/timesamples-array-vec2f-001.usdc \
230-
tests/usdc/timesamples-array-float-001.usdc \
231-
tests/usdc/timesamples-array-int-001.usdc \
232-
tests/usdc/timesamples-array-dedup-002.usdc \
233-
tests/usdc/timesamples-array-dedup-001.usdc \
234-
tests/usdc/timesamples-array-double-001.usdc; do
235-
echo "=== Testing $f ==="
236-
lldb-21 -b -o "run" -o "bt all" -o "quit" -- ./build/tusdcat "$f"
237-
done
238-
echo "All USDC timesamples tests completed."
219+
echo "Testing USDC timesamples files with tusdcat..."
220+
./build/tusdcat tests/usdc/timesamples-array-vec2f-001.usdc
221+
./build/tusdcat tests/usdc/timesamples-array-float-001.usdc
222+
./build/tusdcat tests/usdc/timesamples-array-int-001.usdc
223+
./build/tusdcat tests/usdc/timesamples-array-dedup-002.usdc
224+
./build/tusdcat tests/usdc/timesamples-array-dedup-001.usdc
225+
./build/tusdcat tests/usdc/timesamples-array-double-001.usdc
226+
echo "All USDC timesamples tests passed."
239227
240228
- name: tests
241229
run: cd build && ctest --output-on-failure

0 commit comments

Comments
 (0)