-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (45 loc) · 1.08 KB
/
testing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Test platforms
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: "Preparing OpenGL"
run: |
sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt update
sudo apt install mesa-utils
- name: "Testing"
run: |
chmod +x ./gradlew
xvfb-run ./gradlew test
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: "Testing"
continue-on-error: true
run: |
chmod +x ./gradlew
./gradlew test
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: "Preparing OpenGL"
shell: cmd
run: |
powershell wget "https://github.com/mmozeiko/build-mesa/releases/download/23.1.6/mesa-llvmpipe-23.1.6.zip" -outfile "mesa-llvmpipe.7z"
powershell 7z x 'mesa-llvmpipe.7z'
cp opengl32.dll %JAVA_HOME%\bin
- name: "Testing"
run: |
./gradlew.bat test