Manifold3d test building #197
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
| name: "Test Build" | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| tags-ignore: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - '*' | |
| jobs: | |
| build-linux-arm: | |
| runs-on: ubuntu-24.04-arm | |
| 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 contents | |
| 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_aarch64.tar.gz | |
| - name: Set Java | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 21 | |
| jdkFile: ./zulu21.46.19-ca-fx-jdk21.0.9-linux_aarch64.tar.gz | |
| - name: Test with Gradle | |
| run: xvfb-run -s '-screen 0 1024x768x24' ./gradlew test | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository and submodules | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| - name: Pull a JavaFX JDK | |
| run: curl -O https://cdn.azul.com/zulu/bin/zulu21.46.19-ca-fx-jdk21.0.9-win_x64.zip | |
| - name: Set Java | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 21 | |
| jdkFile: ./zulu21.46.19-ca-fx-jdk21.0.9-win_x64.zip | |
| - name: Test with Gradle | |
| run: ./gradlew test | |
| build-mac: | |
| runs-on: macos-14 | |
| steps: | |
| - name: Checkout repository and submodules | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| - name: Install Java and Maven | |
| run: | | |
| wget https://cdn.azul.com/zulu/bin/zulu21.46.19-ca-fx-jdk21.0.9-macosx_aarch64.tar.gz | |
| tar -xzf zulu21.46.19-ca-fx-jdk21.0.9-macosx_aarch64.tar.gz | |
| echo "JAVA_HOME=$(pwd)/zulu21.46.19-ca-fx-jdk21.0.9-macosx_aarch64" >> $GITHUB_ENV | |
| echo "PATH=$(pwd)/zulu21.46.19-ca-fx-jdk21.0.9-macosx_aarch64/bin:$PATH" >> $GITHUB_ENV | |
| - name: Test with Gradle | |
| run: ./gradlew test | |
| build-linux-x86: | |
| 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 https://cdn.azul.com/zulu/bin/zulu21.46.19-ca-fx-jdk21.0.9-linux_x64.tar.gz | |
| - 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: Test with Gradle | |
| run: xvfb-run -s '-screen 0 1024x768x24' ./gradlew test | |