From 9981ce8d98953c6353cbc883db225412952459cc Mon Sep 17 00:00:00 2001 From: liushuyu Date: Sat, 18 Jun 2022 23:15:30 -0600 Subject: CI: upload artifacts for pull request verification --- .github/workflows/verify.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to '.github') 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: run: ./.ci/scripts/${{ matrix.type }}/docker.sh env: ENABLE_COMPATIBILITY_REPORTING: "ON" + - name: Pack + run: ./.ci/scripts/${{ matrix.type }}/upload.sh + env: + NO_SOURCE_PACK: "YES" + - name: Upload + uses: actions/upload-artifact@v3 + with: + name: ${{ matrix.type }} + path: artifacts/ build-msvc: name: 'test build (windows, msvc)' needs: format @@ -67,6 +76,7 @@ jobs: restore-keys: | ${{ runner.os }}-msvc- - name: Install dependencies + # due to how chocolatey works, only cmd.exe is supported here shell: cmd run: | choco install vulkan-sdk wget @@ -95,3 +105,11 @@ jobs: run: cmake --build build - name: Cache Summary run: buildcache -s + - name: Pack + shell: pwsh + run: .\.ci\scripts\windows\upload.ps1 + - name: Upload + uses: actions/upload-artifact@v3 + with: + name: msvc + path: artifacts/ -- cgit v1.2.3