Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Actions: Implement a "Mesa Compliance Testing" #1575

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
46 changes: 46 additions & 0 deletions .github/workflows/mesa-compliance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Mesa Compliance Testing
on:
- push
- pull_request

jobs:
MesaTests:
name: Mesa Compliance Testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: MeFisto94/jme3-testing
- uses: actions/checkout@v2
with:
path: engine

- name: setup-docker
uses: docker-practice/[email protected]
- name: Fetch Docker Image
run: sudo docker pull riccardoblb/buildenvs:javagl
- name: Prebuild Everything # This task is so we don't get the whole compilation output verbosely in the test tasks.
run: ./gradlew assemble

- name: Test on LWJGL3
run: |
chmod +x ci-runner.sh
NO_INTERRACTIVE=1 ./ci-runner.sh -Dmesa-llvm-ci=true tests-lwjgl3:test -i
- name: Upload lwjgl3 reports
uses: actions/[email protected]
if: always()
with:
name: reports-lwjgl3
path: tests-lwjgl3/build/reports

- name: Test on LWJGL2
if: always()
run: |
chmod +x ci-runner.sh
NO_INTERRACTIVE=1 ./ci-runner.sh -Dmesa-llvm-ci=true tests-lwjgl2:test -i
- name: Upload lwjgl2 reports
uses: actions/[email protected]
if: always()
with:
name: reports-lwjgl2
path: tests-lwjgl2/build/reports