diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b60556568..b80f41423 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,6 +54,8 @@ jobs: - { config: release, test-category: full } # default not full gpu tests - full-gpu-tests: false + # The runners don't have a GPU by default except for the self-hosted ones + - has-gpu: false # Self-hosted aarch64 build - os: linux config: release @@ -62,6 +64,7 @@ jobs: test-category: smoke full-gpu-tests: false runs-on: [self-hosted, Linux, ARM64] + has-gpu: true # Self-hosted full gpu build - os: windows config: release @@ -70,6 +73,7 @@ jobs: test-category: full full-gpu-tests: true runs-on: [Windows, self-hosted] + has-gpu: true fail-fast: false runs-on: ${{ matrix.runs-on }} @@ -121,12 +125,19 @@ jobs: -server-count 8 \ -category ${{ matrix.test-category }} \ -api all-cpu - else + elif [[ "${{matrix.has-gpu}}" == "true" ]]; then "$bin_dir/slang-test" \ -use-test-server \ -category ${{ matrix.test-category }} \ -api all-dx12 \ -expected-failure-list tests/expected-failure-github.txt + else + "$bin_dir/slang-test" \ + -use-test-server \ + -category ${{ matrix.test-category }} \ + -api all-dx12 \ + -expected-failure-list tests/expected-failure-github.txt \ + -expected-failure-list tests/expected-failure-record-replay-tests.txt fi - name: Test Slang via glsl if: ${{matrix.full-gpu-tests}} |
