Skip to content

Commit

Permalink
HACK test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cheneym2 committed Sep 19, 2024
1 parent fd87952 commit 4db987a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 37 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,9 @@ jobs:
-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
-expected-failure-list tests/expected-failure-record-replay-tests.txt tests/vkray/closesthit || cat tests/vkray/closesthit.*actual* ; echo 'END ACTUAL DUMP'
fi
- name: Test Slang via glsl
if: ${{matrix.full-gpu-tests}}
run: |
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/compile-regression-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,7 @@ jobs:
build-llvm: true
- name: Build Slang
run: |
cmake --preset default --fresh \
-DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM \
-DCMAKE_COMPILE_WARNING_AS_ERROR=${{matrix.warnings-as-errors}} \
-DSLANG_ENABLE_CUDA=1
cmake --workflow --preset "${{matrix.config}}"
echo "skip"
- name: Run compile and validation test
run: |
cp -r /c/slang_compile_test_suite_a .
cd slang_compile_test_suite_a
export SLANGC_PATH="$bin_dir/slangc.exe"
bash ./compile_all_slang.sh
echo "skip"
2 changes: 1 addition & 1 deletion .github/workflows/falcor-compiler-perf-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows]
os: []
config: [release]
compiler: [cl]
platform: [x86_64]
Expand Down
31 changes: 5 additions & 26 deletions .github/workflows/falcor-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,39 +55,18 @@ jobs:
- name: setup-falcor
shell: pwsh
run: |
mkdir FalcorBin
cd FalcorBin
Copy-Item -Path 'C:\Falcor\build\windows-vs2022\bin' -Destination '.\build\windows-vs2022\bin' -Recurse -Exclude ("*.pdb")
Copy-Item -Path 'C:\Falcor\tests' -Destination '.\' -Recurse
Copy-Item -Path 'C:\Falcor\tools' -Destination '.\' -Recurse
Copy-Item -Path 'C:\Falcor\media' -Destination '.\' -Recurse
Copy-Item -Path 'C:\Falcor\media_internal' -Destination '.\' -Recurse
Copy-Item -Path 'C:\Falcor\scripts' -Destination '.\' -Recurse
cd ..\
echo "skip"
- name: Build Slang
run: |
cmake --preset default --fresh \
-DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM \
-DCMAKE_COMPILE_WARNING_AS_ERROR=${{matrix.warnings-as-errors}} \
-DSLANG_ENABLE_CUDA=1 \
-DSLANG_ENABLE_EXAMPLES=0 \
-DSLANG_ENABLE_GFX=0 \
-DSLANG_ENABLE_TESTS=0
cmake --workflow --preset "${{matrix.config}}"
echo "skip"
- name: Copy Slang to Falcor
run: |
cp --verbose --recursive --target-directory ./FalcorBin/build/windows-vs2022/bin/Release build/Release/bin/*
echo "skip"
- name: falcor-unit-test
shell: pwsh
run: |
$ErrorActionPreference = "SilentlyContinue"
cd .\FalcorBin\tests
python ./testing/run_unit_tests.py --config windows-vs2022-Release -t "-slow"
cd ../../
echo "skip"
- name: falcor-image-test
shell: pwsh
run: |
$ErrorActionPreference = "SilentlyContinue"
cd .\FalcorBin\tests
python ./testing/run_image_tests.py --config windows-vs2022-Release --run-only
cd ../../
echo "skip"

0 comments on commit 4db987a

Please sign in to comment.