Skip to content

Commit

Permalink
Add github actions from 8 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
timatbw committed Mar 13, 2024
1 parent 0cedbed commit fe7729f
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Compile

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
- name: Ivy bootstrap
run: ant ivy-bootstrap
- name: Compile
run: ant -noinput -buildfile build.xml compile
22 changes: 22 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Tests

on:
push:
branches:
- 'bw_branch_*'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
- name: Ivy bootstrap
run: ant ivy-bootstrap
- name: Run tests
run: ant -noinput -buildfile build.xml -Dtests.badapples=false -Dtests.slow=false test

0 comments on commit fe7729f

Please sign in to comment.