Skip to content

Commit

Permalink
Upload CMake logs to the action artifacts (#7611)
Browse files Browse the repository at this point in the history
For debugging.
  • Loading branch information
akuzm authored Jan 22, 2025
1 parent f3df13a commit cb5ff43
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/linux-32bit-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
if: always() && steps.cache-postgresql.outputs.cache-hit != 'true'
uses: actions/upload-artifact@v4
with:
name: config.log for i386 PostgreSQL ${{ matrix.pg }}
name: config.log linux-i386 PG${{ matrix.pg }}
path: ~/${{ env.PG_SRC_DIR }}/config.log

- name: Build TimescaleDB
Expand All @@ -145,6 +145,18 @@ jobs:
make -C build install
chown -R postgres:postgres .
- name: Upload CMake Logs
if: always()
uses: actions/upload-artifact@v4
with:
name: CMake Logs linux-i386 PG${{ matrix.pg }}
path: |
build/CMakeCache.txt
build/CMakeFiles/CMakeConfigureLog.yaml
build/CMakeFiles/CMakeError.log
build/CMakeFiles/CMakeOutput.log
build/compile_commands.json
- name: make installcheck
id: installcheck
shell: bash
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/linux-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,18 @@ jobs:
make -j $(nproc) -C build
make -C build install
- name: Upload CMake Logs
if: always()
uses: actions/upload-artifact@v4
with:
name: CMake Logs ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }}
path: |
build/CMakeCache.txt
build/CMakeFiles/CMakeConfigureLog.yaml
build/CMakeFiles/CMakeError.log
build/CMakeFiles/CMakeOutput.log
build/compile_commands.json
- name: Check exported symbols
run: ./build/scripts/export_prefix_check.sh

Expand Down

0 comments on commit cb5ff43

Please sign in to comment.