Update Robot Lab #722
Workflow file for this run
This file contains hidden or 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: Install updated FreeType | |
| run: sudo apt-get update;sudo apt-get install libfreetype6 | |
| - 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: 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 https://cdn.azul.com/zulu/bin/zulu21.46.19-ca-fx-jdk21.0.9-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: 21 | |
| jdkFile: zulu21.46.19-ca-fx-jdk21.0.9-linux_x64.tar.gz | |
| - name: Shadow Jar | |
| run: ./gradlew shadowJar | |
| - name: initialize the X11 DISPLAY variable | |
| run: | |
| export DISPLAY=:0 | |
| - name: Build/Test with Gradle | |
| run: xvfb-run -s '-screen 0 1024x768x24' ./gradlew test | |
| - name: Test Bezier | |
| run: xvfb-run -s '-screen 0 1024x768x24' java -Dprism.order=sw -Dprism.verbose=true -jar build/libs/bowler-kernel.jar -g https://gist.github.com/4aeeaa49bd3a807eed8f8ff3dea84c48.git BezierEditorDemo.groovy | |
| - name: start xvfb | |
| run: | |
| Xvfb :0 & | |
| - name: Test Local | |
| run: xvfb-run -s '-screen 0 1024x768x24' java -Dprism.order=sw -Dprism.verbose=true -jar build/libs/bowler-kernel.jar -f kernel-return-test.groovy | |
| - name: Clean Cad | |
| run: rm -rf $HOME/bowler-workspace/gitcache/github.com/Hephaestus-Arm/HephaestusArm2 | |
| - name: build Cad | |
| run: xvfb-run -s '-screen 0 1024x768x24' java -Dprism.order=sw -Dprism.verbose=true -jar build/libs/bowler-kernel.jar -g https://github.com/Hephaestus-Arm/HephaestusArm2.git hephaestus.xml | |