Skip to content

Commit e61d808

Browse files
Mark Rosstclaude
andcommitted
Debug: Add diagnostic output to CI workflow
Added debugging information to help diagnose CI failures: - Echo CC environment variable in build and test steps - Show compiler version after setup - Add build-essential package for Ubuntu gcc - Add completion messages for each step This will help identify whether: 1. The CC environment variable is being set correctly 2. The compilers are installed properly 3. The build is actually completing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 37bc251 commit e61d808

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,32 @@ jobs:
2525
- name: Setup compiler
2626
if: runner.os == 'Linux'
2727
run: |
28+
echo "Setting up ${{ matrix.compiler }} on Linux"
29+
sudo apt-get update -qq
2830
if [ "${{ matrix.compiler }}" = "gcc" ]; then
29-
sudo apt-get update
30-
sudo apt-get install -y gcc
31+
sudo apt-get install -y gcc build-essential
3132
elif [ "${{ matrix.compiler }}" = "clang" ]; then
32-
sudo apt-get update
3333
sudo apt-get install -y clang
3434
fi
35+
${{ matrix.compiler }} --version
3536
3637
- name: Build
3738
env:
3839
CC: ${{ matrix.compiler }}
39-
run: make
40+
run: |
41+
echo "CC is set to: $CC"
42+
echo "Running make..."
43+
make
44+
echo "Build completed"
4045
4146
- name: Run tests
4247
env:
4348
CC: ${{ matrix.compiler }}
44-
run: make test
49+
run: |
50+
echo "CC is set to: $CC"
51+
echo "Running make test..."
52+
make test
53+
echo "Tests completed"
4554
4655
- name: Clean
4756
run: make clean

0 commit comments

Comments
 (0)