Skip to content

Commit

Permalink
Merge pull request #1376 from xael-fry/1371_github-actions
Browse files Browse the repository at this point in the history
#1371 add github-actions.yml
  • Loading branch information
xael-fry authored Jan 31, 2022
2 parents ec96e5a + 6dabc53 commit 316739b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Pull Requests

on:
pull_request:

concurrency:
# Only run once for latest commit per ref and cancel other (previous) runs.
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
jdk: [ 11, 17 ]
name: Check / Tests (JDK ${{ matrix.jdk }})
steps:
- name: Checkout
uses: actions/checkout@v2
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0

- name: Set up python 2
uses: actions/setup-python@v2
with:
python-version: '2.x'
architecture: 'x64'

- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.jdk }}
distribution: 'adopt'

- name: Build with Ant
run: ant -buildfile ./framework/build.xml test

0 comments on commit 316739b

Please sign in to comment.