Skip to content

Commit

Permalink
Enable logging artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Roberts committed Jan 14, 2025
1 parent e2f2664 commit 39d6168
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ubuntu-clang-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,23 @@ jobs:
--label-regex logging \
--verbose
- name: Archive build files from failed build
uses: actions/upload-artifact@v4
if: failure()
with:
name: build_files
path: |
${{ github.workspace }}/build
!${{ github.workspace }}/build/Testing/output
- name: Archive output files from failed build
uses: actions/upload-artifact@v4
if: failure()
with:
name: output_files
path: |
${{ github.workspace }}/build/Testing/
build_cycle_profiling:
runs-on: ubuntu-latest

Expand All @@ -82,3 +99,20 @@ jobs:
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Archive build files from failed build
uses: actions/upload-artifact@v4
if: failure()
with:
name: build_files
path: |
${{ github.workspace }}/build
!${{ github.workspace }}/build/Testing/output
- name: Archive output files from failed build
uses: actions/upload-artifact@v4
if: failure()
with:
name: output_files
path: |
${{ github.workspace }}/build/Testing/

0 comments on commit 39d6168

Please sign in to comment.