From c63efa321423eb379d06a8b1063c0f20502e6d19 Mon Sep 17 00:00:00 2001 From: Patrick Durand Date: Fri, 10 Mar 2023 15:44:57 +0100 Subject: [PATCH] Create ant.yaml --- .github/workflows/ant.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ant.yml 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