diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..c62157a0 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,9 @@ +# These are supported funding model platforms +github: madhephaestus +#github: madhephaestus +patreon: madhephaestus +#community_bridge: BowlerStudio +issuehunt: CommonWealthRobotics/BowlerStudio +#ko-fi: bowlerstudio +liberapay: madhephaestus +#open_collective: kevin-harrington diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml new file mode 100644 index 00000000..56c88508 --- /dev/null +++ b/.github/workflows/verify.yml @@ -0,0 +1,49 @@ +name: "Test Build" + +on: [pull_request] + +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: Install libraries + run: | + sudo apt update + sudo apt install libgtk2.0-0 + + - name: Pull a JavaFX JDK + run: wget http://static.azul.com/zulu/bin/zulu8.33.0.1-ca-fx-jdk8.0.192-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.33.0.1-ca-fx-jdk8.0.192-linux_x64.tar.gz + + + - name: Test with Gradle + run: xvfb-run -s '-screen 0 1024x768x24' ./gradlew test + +