Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 39 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,44 @@ jobs:
cmake --build out/launcher-tests --target wg-core-tests launcher-core-tests coexist-core-tests convert-ignore-tests model-choice-tests model-choice-k-tests model-choice-k-only-tests
ctest --test-dir out/launcher-tests --output-on-failure -R "^(wg-core|launcher-core|coexist-core|convert-ignore|model-choice|model-choice-k|model-choice-k-only|source-size|wording)$"

release-models:
# The front end and launcher with the release's model flags (BUILDING.md 4.1 and 5.2: Model L and Model K on), so a
# change that breaks the build players get fails here too; the jobs above keep the Model M-only configuration.
name: "CPU: release model flags (Model L and K on)"
runs-on: windows-2022
timeout-minutes: 60
env:
CMAKE_BUILD_PARALLEL_LEVEL: "4"
PYTHONDONTWRITEBYTECODE: "1"
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/setup-python@v5.3.0
with:
python-version: "3.12"
- name: Python packages
run: python -m pip install --disable-pip-version-check numpy ninja
- uses: ilammy/msvc-dev-cmd@v1.13.0
with:
arch: x64
- name: HIP runtime stand-in for the launcher tests
run: |
$PSNativeCommandUseErrorActionPreference = $true
New-Item -ItemType Directory -Force out/mockhip | Out-Null
cl /nologo /LD /O2 clean/installer/tests/mock_hip.c /Fe:out/mockhip/amdhip64_7.dll /Fo:out/mockhip/
"WRONGGPU_HIP_RUNTIME=$PWD\out\mockhip\amdhip64_7.dll" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
- name: FSR front end with Model L and Model K (build and CPU tests)
run: |
$PSNativeCommandUseErrorActionPreference = $true
cmake -S clean/fsr -B out/frontend-models -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DWG_MODEL_K=ON -DWG_MODEL_L=ON -DWG_BUILD_ID=ci -DWG_BUILD_ASI=ON
cmake --build out/frontend-models
ctest --test-dir out/frontend-models --output-on-failure -R "unit|hosted|diagnostic|support" -E "overlay|split|d3d12"
- name: Launcher with Preset K and the Model L / K choices (build and CPU tests)
run: |
$PSNativeCommandUseErrorActionPreference = $true
cmake -S clean/installer -B out/launcher-models -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DWRONGGPU_PAYLOAD_DIR="$PWD/out/no-payload" -DWRONGGPU_TESTING=OFF -DWRONGGPU_PRESET_K=ON -DWRONGGPU_MODEL_K=ON -DWRONGGPU_MODEL_L=ON -DWRONGGPU_DIRECT_ROUTE=OFF
cmake --build out/launcher-models --target wg-core-tests launcher-core-tests coexist-core-tests convert-ignore-tests model-choice-tests model-choice-k-tests model-choice-k-only-tests
ctest --test-dir out/launcher-models --output-on-failure -R "^(wg-core|launcher-core|coexist-core|convert-ignore|model-choice|model-choice-k|model-choice-k-only|source-size|wording)$"

rr-plugin:
name: "CPU: Ray Reconstruction plugin"
runs-on: windows-2022
Expand Down Expand Up @@ -172,7 +210,7 @@ jobs:
build-and-test:
name: CPU build and tests
if: ${{ always() }}
needs: [converter-shared, frontend, launcher, rr-plugin, python]
needs: [converter-shared, frontend, launcher, release-models, rr-plugin, python]
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
Expand Down
Loading