Merge pull request #413 from CommonWealthRobotics/kh/cadoodle-compat #654
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# test | |
name: Test package | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: List directory contents | |
run: pwd; ls -la | |
- name: start xvfb | |
run: | |
Xvfb :0 & | |
- name: initialize the X11 DISPLAY variable | |
run: | |
export DISPLAY=:0 | |
- name: After checkout, list directory contnts | |
run: pwd; ls -la | |
- name: Pull a JavaFX JDK | |
run: wget http://static.azul.com/zulu/bin/zulu8.44.0.13-ca-fx-jdk8.0.242-linux_x64.tar.gz | |
- name: After JDK download, list directory contnts | |
run: pwd; ls -la | |
- name: Set Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
jdkFile: ./zulu8.44.0.13-ca-fx-jdk8.0.242-linux_x64.tar.gz | |
- name: Build with Gradle | |
run: ./gradlew shadowJar |