diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml new file mode 100644 index 0000000..d40610a --- /dev/null +++ b/.github/workflows/ant.yml @@ -0,0 +1,27 @@ +# This workflow will build a Java project with Ant +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant + +name: Java CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macos-latest] + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 9 + uses: actions/setup-java@v3 + with: + java-version: '9' + distribution: 'adopt' + - name: Build with Ant + run: ant -noinput -buildfile build.xml makedistrib