Skip to content

Commit

Permalink
output log on configure errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
ptheywood committed Jan 15, 2024
1 parent 0d583d3 commit 4553387
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/Ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ jobs:
run: git config --global --add safe.directory $GITHUB_WORKSPACE

- name: Configure cmake
id: configure
run: >
cmake . -B "${{ env.BUILD_DIR }}"
-DCMAKE_BUILD_TYPE="${{ env.CONFIG }}"
Expand All @@ -254,6 +255,15 @@ jobs:
-DPYTHON3_EXACT_VERSION="${{ env.PYTHON }}"
-DFLAMEGPU_VISUALISATION="${{ env.VISUALISATION }}"
-DFLAMEGPU_ENABLE_NVTX="ON"
- name: Log Configure Erorrs
- name: Log Configure Erorrs
if: ${{ success() || (failure() && steps.configure.conclusion == 'failure') }}
run: |
echo "${{ env.BUILD_DIR }}/CMakeFiles/CMakeOutput.log:"
cat ${{ env.BUILD_DIR }}/CMakeFiles/CMakeOutput.log || true
echo "${{ env.BUILD_DIR }}/CMakeFiles/CMakeError.log:"
cat ${{ env.BUILD_DIR }}/CMakeFiles/CMakeError.log || true
- name: Build static library
working-directory: ${{ env.BUILD_DIR }}
Expand Down

0 comments on commit 4553387

Please sign in to comment.