diff options
| author | dzysk <75759936+dzysk@users.noreply.github.com> | 2024-03-12 13:37:43 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-12 13:37:43 -0500 |
| commit | 66a0d91d6f3cbbaab69aec637404bcfeb2584274 (patch) | |
| tree | e1e6018aaff87cf0e5676347f2492e07d61818bb /.github/workflows | |
| parent | 8dc635ae72031d34bd36ed80874c568d6d43d587 (diff) | |
Add nightly vkcts workflow (#3717)
* Create vk-gl-cts-nightly.yml
Action to run VK-GL-CTS expected slang passing test list nightly on schedule to run at 12am Pacific time.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/vk-gl-cts-nightly.yml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/.github/workflows/vk-gl-cts-nightly.yml b/.github/workflows/vk-gl-cts-nightly.yml new file mode 100644 index 000000000..84ffd0a2e --- /dev/null +++ b/.github/workflows/vk-gl-cts-nightly.yml @@ -0,0 +1,56 @@ +name: VK-GL-CTS Nightly + +on: + schedule: + - cron: '00 07 * * *' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true +env: + DISABLE_CTS_SLANG: 0 +jobs: + build: + runs-on: [Windows, self-hosted] + timeout-minutes: 100 + continue-on-error: true + steps: + - uses: actions/checkout@v4 + with: + submodules: 'true' + fetch-depth: '0' + - name: setup-msbuild + uses: microsoft/setup-msbuild@v1 + - name: build slang + run: | + .\premake.bat vs2019 --arch=x64 --deps=true --no-progress=true --enable-cuda=true + + .\make-slang-tag-version.bat + + MSBuild.exe slang.sln -v:m -m -property:Configuration=Release -property:Platform=x64 -property:WindowsTargetPlatformVersion=10.0.19041.0 -maxcpucount:12 + - uses: robinraju/release-downloader@v1.7 + with: + latest: true + repository: "shader-slang/VK-GL-CTS" + fileName: "VK-GL-CTS_WithSlang-0.0.3-win64.zip" + - uses: actions/checkout@v4 + with: + repository: "shader-slang/VK-GL-CTS" + sparse-checkout: | + test-lists/slang-passing-tests.txt + path: test-lists + sparse-checkout-cone-mode: false + - name: vkcts setup + run: | + Expand-Archive VK-GL-CTS_WithSlang-0.0.3-win64.zip + + copy ${{ github.workspace }}\bin\windows-x64\release\slang.dll ${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64\slang.dll + + copy ${{ github.workspace }}\bin\windows-x64\release\slang-glslang.dll ${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64\slang-glslang.dll + + copy ${{ github.workspace }}\test-lists\test-lists\slang-passing-tests.txt ${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64\slang-passing-tests.txt + + copy ${{ github.workspace }}\bin\windows-x64\release\test-server.exe ${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64\test-server.exe + - name: vkcts run + working-directory: ${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64 + run: | + .\deqp-vk.exe --deqp-archive-dir=${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64 --deqp-caselist-file=${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64\slang-passing-tests.txt |
