Skip to content

Commit

Permalink
Archive more build logs
Browse files Browse the repository at this point in the history
  • Loading branch information
equeim committed Dec 19, 2024
1 parent 39436b7 commit 9c56631
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,15 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Archive vcpkg logs
- name: Archive build logs
uses: actions/upload-artifact@v4
if: always()
with:
name: macos-${{ matrix.architecture }}-vcpkg-logs
name: macos-${{ matrix.architecture }}-build-logs
retention-days: ${{ github.event_name == 'push' && 7 || 3 }}
path: ${{ env.VCPKG_ROOT }}/buildtrees/*/*.log
path: |
${{ steps.build.outputs.build-directory }}/CMakeCache.txt
${{ steps.build.outputs.build-directory }}/compile_commands.json
${{ steps.build.outputs.build-directory }}/vcpkg-manifest-install.log
${{ steps.build.outputs.build-directory }}/CMakeFiles/CMakeConfigureLog.yaml
${{ env.VCPKG_ROOT }}/buildtrees/*/*.log
11 changes: 8 additions & 3 deletions .github/workflows/build-windows-msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,15 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Archive vcpkg logs
- name: Archive build logs
uses: actions/upload-artifact@v4
if: always()
with:
name: 'windows-${{ matrix.arch.cmake-preset-arch }}-${{ inputs.toolchain }}-vcpkg-logs'
name: 'windows-${{ matrix.arch.cmake-preset-arch }}-${{ inputs.toolchain }}-build-logs'
retention-days: ${{ github.event_name == 'push' && 7 || 3 }}
path: ${{ env.VCPKG_ROOT }}\buildtrees\*\*.log
path: |
${{ steps.build.outputs.build-directory }}\CMakeCache.txt
${{ steps.build.outputs.build-directory }}\compile_commands.json
${{ steps.build.outputs.build-directory }}\vcpkg-manifest-install.log
${{ steps.build.outputs.build-directory }}\CMakeFiles\CMakeConfigureLog.yaml
${{ env.VCPKG_ROOT }}\buildtrees\*\*.log

0 comments on commit 9c56631

Please sign in to comment.