Merge pull request 'Archive artifacts' (#148) from archive_artifacts into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/148 Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
This commit is contained in:
@@ -41,8 +41,34 @@ jobs:
|
||||
- name: Test
|
||||
working-directory: ${{github.workspace}}/build
|
||||
run: ctest -C ${{env.BUILD_TYPE}}
|
||||
- name: Archive artifacts Windows
|
||||
if: matrix.os == 'windows_x64'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: 'Artifacts-windows'
|
||||
path: |
|
||||
${{github.workspace}}/build/examples/${{env.BUILD_TYPE}}
|
||||
${{github.workspace}}/build/tests/${{env.BUILD_TYPE}}
|
||||
if-no-files-found: error
|
||||
retention-days: 30
|
||||
overwrite: true
|
||||
- name: Archive artifacts
|
||||
if: matrix.os != 'windows_x64'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: 'Artifacts-${{matrix.os}}'
|
||||
path: |
|
||||
${{github.workspace}}/build/examples
|
||||
${{github.workspace}}/build/tests
|
||||
!${{github.workspace}}/build/**/CMakeFiles
|
||||
!${{github.workspace}}/build/**/*.cmake
|
||||
!${{github.workspace}}/build/**/Makefile
|
||||
if-no-files-found: error
|
||||
retention-days: 30
|
||||
overwrite: true
|
||||
|
||||
|
||||
|
||||
#TODO archive executables
|
||||
|
||||
|
||||
build_iOS:
|
||||
|
||||
Reference in New Issue
Block a user