Skip to content

Commit

Permalink
CI: test metal
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Apr 10, 2024
1 parent 5b95e05 commit 5c8af9c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ jobs:
LOVE_GRAPHICS_DEBUG: 1
run: |
ls
love-macos/love.app/Contents/MacOS/love ./testing/main.lua --all --isRunner --renderers opengl
love-macos/love.app/Contents/MacOS/love ./testing/main.lua --all --isRunner --renderers metal
- name: Love Test Report
id: report1
uses: ellraiser/love-test-report@main
Expand All @@ -464,16 +464,16 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Zip Test Output
run: |
7z a -tzip test-output-macos-opengl.zip ./testing/output/
7z a -tzip test-output-macos-metal.zip ./testing/output/
- name: Artifact Test Output
uses: actions/upload-artifact@v4
with:
name: test-output-macos-opengl-${{ steps.report1.outputs.conclusion }}
path: test-output-macos-opengl.zip
name: test-output-macos-metal-${{ steps.report1.outputs.conclusion }}
path: test-output-macos-metal.zip
- name: Check Tests Passing
if: steps.report1.outputs.conclusion == 'failure'
run: |
echo "${{ steps.report1.outputs.failed }} opengl tests failed"
echo "${{ steps.report1.outputs.failed }} metal tests failed"
exit 1
iOS-Simulator:
runs-on: macos-latest
Expand Down

0 comments on commit 5c8af9c

Please sign in to comment.