Skip to content

Commit

Permalink
add renderer alts.
Browse files Browse the repository at this point in the history
  • Loading branch information
ellraiser committed Oct 6, 2023
1 parent 5ac5438 commit a620910
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 12 deletions.
41 changes: 31 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,27 @@ jobs:
name: love-windows-${{ steps.vars.outputs.arch }}${{ steps.vars.outputs.compatname }}-dbg
path: pdb/Release/*.pdb
- name: Build Test Exe
if: steps.vars.outputs.arch != 'ARM64'
run: cmake --build build --config Release --target install
- name: Run All Tests
run: install\lovec.exe ./testing/main.lua
- name: Love Test Report
- name: Run All Tests (OpenGL)
if: steps.vars.outputs.arch != 'ARM64'
run: install\lovec.exe testing/main.lua --renderers opengl
- name: Love Test Report (OpenGL)
if: steps.vars.outputs.arch != 'ARM64'
uses: ellraiser/love-test-report@main
with:
name: Love Testsuite Windows
title: windows-${{ steps.vars.outputs.arch }}${{ steps.vars.outputs.compatname }}-test-report
name: Love Testsuite Windows (OpenGL)
title: windows-${{ steps.vars.outputs.arch }}${{ steps.vars.outputs.compatname }}-test-report-opengl
path: testing/output/lovetest_runAllTests.md
- name: Run All Tests (Vulkan)
if: steps.vars.outputs.arch != 'ARM64'
run: install\lovec.exe testing/main.lua --renderers vulkan
- name: Love Test Report (Vulkan)
if: steps.vars.outputs.arch != 'ARM64'
uses: ellraiser/love-test-report@main
with:
name: Love Testsuite Windows (Vulkan)
title: windows-${{ steps.vars.outputs.arch }}${{ steps.vars.outputs.compatname }}-test-report-vulkan
path: testing/output/lovetest_runAllTests.md
macOS:
runs-on: macos-latest
Expand Down Expand Up @@ -243,13 +256,21 @@ jobs:
with:
name: love-macos
path: love-macos.zip
- name: Run All Tests
run: love-macos/love.app/Contents/MacOS/love testing
- name: Love Test Report
- name: Run All Tests (OpenGL)
run: love-macos/love.app/Contents/MacOS/love testing --renderers opengl
- name: Love Test Report (OpenGL)
uses: ellraiser/love-test-report@main
with:
name: Love Testsuite MacOS (OpenGL)
title: macos-test-report-opengl
path: testing/output/lovetest_runAllTests.md
- name: Run All Tests (metal)
run: love-macos/love.app/Contents/MacOS/love testing --renderers opengl
- name: Love Test Report (metal)
uses: ellraiser/love-test-report@main
with:
name: Love Testsuite MacOS
title: macos-test-report
name: Love Testsuite MacOS (Metal)
title: macos-test-report-metal
path: testing/output/lovetest_runAllTests.md
iOS-Simulator:
runs-on: macos-latest
Expand Down
3 changes: 1 addition & 2 deletions testing/todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

## CI
- [ ] ignore test suite for windows AMD
- [ ] add test run to linux + ios builds
- [ ] add metal/vulkan runs
- [ ] add test run to linux (opengl+vulkan) + ios builds (opengl+metal)

## TESTSUITE
- [ ] finish graphics state methods
Expand Down

0 comments on commit a620910

Please sign in to comment.