Skip to content

Commit

Permalink
Add step to collect vcpkg build output.
Browse files Browse the repository at this point in the history
  • Loading branch information
abeltrano committed Jul 16, 2024
1 parent 06f3b66 commit 7379e30
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/actions/build-with-host/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ runs:
run: cmake --build --preset build-${{ inputs.preset-name }}-${{ inputs.os }} --config ${{ inputs.build-type }}
shell: pwsh

- name: Publish VCPkg Build Output
if: always()
uses: actions/upload-artifact@v4
with:
name: error-logs-${{ runner.os }}-${{ inputs.build-type }}-${{ inputs.arch != '' && inputs.arch || runner.arch }}
path: |
${{ github.workspace }}/vcpkg/buildtrees/**
- name: CMake Test (ctest)
if: ${{ inputs.test == 'true' && ! inputs.arch }}
run: ctest --preset test-${{ inputs.preset-name }}-${{ inputs.os }} -C ${{ inputs.build-type }}
Expand All @@ -92,3 +100,5 @@ runs:
path: |
${{ github.workspace }}/out/package/${{ inputs.preset-name }}-${{ inputs.os }}/*.tar.*
${{ github.workspace }}/out/package/${{ inputs.preset-name }}-${{ inputs.os }}/*.zip

0 comments on commit 7379e30

Please sign in to comment.