diff options
| -rwxr-xr-x[-rw-r--r--] | .ci/scripts/clang/upload.sh | 0 | ||||
| -rw-r--r-- | .ci/scripts/common/post-upload.sh | 6 | ||||
| -rwxr-xr-x[-rw-r--r--] | .ci/scripts/linux/upload.sh | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | .ci/scripts/windows/upload.sh | 0 | ||||
| -rw-r--r-- | .github/workflows/verify.yml | 18 |
5 files changed, 22 insertions, 2 deletions
diff --git a/.ci/scripts/clang/upload.sh b/.ci/scripts/clang/upload.sh index fe4e6b2ac..fe4e6b2ac 100644..100755 --- a/.ci/scripts/clang/upload.sh +++ b/.ci/scripts/clang/upload.sh | |||
diff --git a/.ci/scripts/common/post-upload.sh b/.ci/scripts/common/post-upload.sh index 387431564..91ef750fe 100644 --- a/.ci/scripts/common/post-upload.sh +++ b/.ci/scripts/common/post-upload.sh | |||
| @@ -4,8 +4,10 @@ | |||
| 4 | cp license.txt "$DIR_NAME" | 4 | cp license.txt "$DIR_NAME" |
| 5 | cp README.md "$DIR_NAME" | 5 | cp README.md "$DIR_NAME" |
| 6 | 6 | ||
| 7 | tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md license.txt | 7 | if [[ "x${NO_SOURCE_PACK}" == "x" ]]; then |
| 8 | cp "${REV_NAME}-source.tar.xz" "$DIR_NAME" | 8 | tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md license.txt |
| 9 | cp -v "${REV_NAME}-source.tar.xz" "$DIR_NAME" | ||
| 10 | fi | ||
| 9 | 11 | ||
| 10 | tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$DIR_NAME" | 12 | tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$DIR_NAME" |
| 11 | 13 | ||
diff --git a/.ci/scripts/linux/upload.sh b/.ci/scripts/linux/upload.sh index 208cd0d04..208cd0d04 100644..100755 --- a/.ci/scripts/linux/upload.sh +++ b/.ci/scripts/linux/upload.sh | |||
diff --git a/.ci/scripts/windows/upload.sh b/.ci/scripts/windows/upload.sh index 3c6a74218..3c6a74218 100644..100755 --- a/.ci/scripts/windows/upload.sh +++ b/.ci/scripts/windows/upload.sh | |||
diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index d26ebc3ac..7e39ef847 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml | |||
| @@ -54,6 +54,15 @@ jobs: | |||
| 54 | run: ./.ci/scripts/${{ matrix.type }}/docker.sh | 54 | run: ./.ci/scripts/${{ matrix.type }}/docker.sh |
| 55 | env: | 55 | env: |
| 56 | ENABLE_COMPATIBILITY_REPORTING: "ON" | 56 | ENABLE_COMPATIBILITY_REPORTING: "ON" |
| 57 | - name: Pack | ||
| 58 | run: ./.ci/scripts/${{ matrix.type }}/upload.sh | ||
| 59 | env: | ||
| 60 | NO_SOURCE_PACK: "YES" | ||
| 61 | - name: Upload | ||
| 62 | uses: actions/upload-artifact@v3 | ||
| 63 | with: | ||
| 64 | name: ${{ matrix.type }} | ||
| 65 | path: artifacts/ | ||
| 57 | build-msvc: | 66 | build-msvc: |
| 58 | name: 'test build (windows, msvc)' | 67 | name: 'test build (windows, msvc)' |
| 59 | needs: format | 68 | needs: format |
| @@ -67,6 +76,7 @@ jobs: | |||
| 67 | restore-keys: | | 76 | restore-keys: | |
| 68 | ${{ runner.os }}-msvc- | 77 | ${{ runner.os }}-msvc- |
| 69 | - name: Install dependencies | 78 | - name: Install dependencies |
| 79 | # due to how chocolatey works, only cmd.exe is supported here | ||
| 70 | shell: cmd | 80 | shell: cmd |
| 71 | run: | | 81 | run: | |
| 72 | choco install vulkan-sdk wget | 82 | choco install vulkan-sdk wget |
| @@ -95,3 +105,11 @@ jobs: | |||
| 95 | run: cmake --build build | 105 | run: cmake --build build |
| 96 | - name: Cache Summary | 106 | - name: Cache Summary |
| 97 | run: buildcache -s | 107 | run: buildcache -s |
| 108 | - name: Pack | ||
| 109 | shell: pwsh | ||
| 110 | run: .\.ci\scripts\windows\upload.ps1 | ||
| 111 | - name: Upload | ||
| 112 | uses: actions/upload-artifact@v3 | ||
| 113 | with: | ||
| 114 | name: msvc | ||
| 115 | path: artifacts/ | ||