|
| 1 | +name: VK-GL-CTS Nightly |
| 2 | + |
| 3 | +on: |
| 4 | + schedule: |
| 5 | + - cron: '00 07 * * *' |
| 6 | +concurrency: |
| 7 | + group: ${{ github.workflow }}-${{ github.ref }} |
| 8 | + cancel-in-progress: true |
| 9 | +env: |
| 10 | + DISABLE_CTS_SLANG: 0 |
| 11 | +jobs: |
| 12 | + build: |
| 13 | + runs-on: [Windows, self-hosted] |
| 14 | + timeout-minutes: 100 |
| 15 | + continue-on-error: true |
| 16 | + steps: |
| 17 | + - uses: actions/checkout@v4 |
| 18 | + with: |
| 19 | + submodules: 'true' |
| 20 | + fetch-depth: '0' |
| 21 | + - name: setup-msbuild |
| 22 | + uses: microsoft/setup-msbuild@v1 |
| 23 | + - name: build slang |
| 24 | + run: | |
| 25 | + .\premake.bat vs2019 --arch=x64 --deps=true --no-progress=true --enable-cuda=true |
| 26 | + |
| 27 | + .\make-slang-tag-version.bat |
| 28 | + |
| 29 | + MSBuild.exe slang.sln -v:m -m -property:Configuration=Release -property:Platform=x64 -property:WindowsTargetPlatformVersion=10.0.19041.0 -maxcpucount:12 |
| 30 | + - uses: robinraju/release-downloader@v1.7 |
| 31 | + with: |
| 32 | + latest: true |
| 33 | + repository: "shader-slang/VK-GL-CTS" |
| 34 | + fileName: "VK-GL-CTS_WithSlang-0.0.3-win64.zip" |
| 35 | + - uses: actions/checkout@v4 |
| 36 | + with: |
| 37 | + repository: "shader-slang/VK-GL-CTS" |
| 38 | + sparse-checkout: | |
| 39 | + test-lists/slang-passing-tests.txt |
| 40 | + path: test-lists |
| 41 | + sparse-checkout-cone-mode: false |
| 42 | + - name: vkcts setup |
| 43 | + run: | |
| 44 | + Expand-Archive VK-GL-CTS_WithSlang-0.0.3-win64.zip |
| 45 | + |
| 46 | + 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 |
| 47 | +
|
| 48 | + 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 |
| 49 | +
|
| 50 | + 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 |
| 51 | +
|
| 52 | + 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 |
| 53 | + - name: vkcts run |
| 54 | + working-directory: ${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64 |
| 55 | + run: | |
| 56 | + .\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 |
0 commit comments