Skip to content

Commit

Permalink
Remove the Kinc-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Jul 23, 2022
1 parent 4d1eeca commit f9b3a7e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 52 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/freebsd-opengl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,3 @@ jobs:
run: |
echo " * Compile"
./make -g opengl --kinc . --from Tests/Empty --compile
echo " * Clean"
rm -r build
echo " * Compile Test 1"
./make -g opengl --kinc . --from Tests/Shader --compile
echo " * Copy Test 1"
cp build/Release/ShaderTest Tests/Shader/Deployment/ShaderTest
echo " * Run Test 1"
cd Tests/Shader/Deployment
bash -c '../../../Tools/freebsd-xvfb-run ./ShaderTest'
cd ../../..
echo " * Check Test 1"
compare -metric mae Tests/Shader/reference.png Tests/Shader/Deployment/test.png difference.png
echo " * Clean"
rm -r build
echo " * Compile Test 2"
./make --kinc . --from Tests/SIMD --compile
echo " * Copy Test 2"
cp build/Release/SIMD Tests/SIMD/Deployment/SIMD
echo " * Run Test 2"
cd Tests/SIMD/Deployment
./SIMD
cd ../../..
20 changes: 0 additions & 20 deletions .github/workflows/linux-opengl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,3 @@ jobs:
run: ./get_dlc
- name: Compile
run: ./make -g opengl --kinc . --from Tests/Empty --compile
- name: Clean
run: rm -r build
- name: Get ImageMagick and xvfb
run: sudo apt install imagemagick xvfb
- name: Compile Test 1
run: ./make -g opengl --kinc . --from Tests/Shader --compile
- name: Copy Test 1
run: cp build/Release/ShaderTest Tests/Shader/Deployment/ShaderTest
- name: Run Test 1
working-directory: ./Tests/Shader/Deployment
run: xvfb-run ./ShaderTest
- name: Check Test 1
run: compare-im6 -metric mae Tests/Shader/reference.png Tests/Shader/Deployment/test.png difference.png
- name: Compile Test 2 (SIMD)
run: ./make -g opengl --kinc . --from Tests/SIMD --compile
- name: Copy Test 2
run: cp build/Release/SIMD Tests/SIMD/Deployment/SIMD
- name: Run Test 2
working-directory: ./Tests/SIMD/Deployment
run: ./SIMD
10 changes: 0 additions & 10 deletions .github/workflows/windows-direct3d11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,3 @@ jobs:
run: .\get_dlc.bat
- name: Compile
run: .\make.bat -v vs2022 -g direct3d11 --kinc . --from Tests/Empty --compile
- name: Get ImageMagick
run: |
choco install -y imagemagick.app --no-progress
Get-ChildItem -Path "${env:ProgramFiles}" | Where-Object {($_.Name -Like 'ImageMagick*')} | % { $_.FullName } | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
- name: Compile and run Test 1
run: .\make.bat -v vs2022 -g direct3d11 --kinc . --from Tests/Shader --run
- name: Check Test 1
run: magick compare -metric mae .\Tests\Shader\reference.png .\Tests\Shader\Deployment\test.png difference.png
- name: Compile and run Test 2 (SIMD)
run: .\make.bat -v vs2022 --kinc . --from Tests/SIMD --compile --run

0 comments on commit f9b3a7e

Please sign in to comment.