Skip to content

Commit

Permalink
Add support for Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
pgdurand committed Mar 10, 2023
2 parents 8f658f9 + c63efa3 commit 49587ab
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ant.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 49587ab

Please sign in to comment.