-
Notifications
You must be signed in to change notification settings - Fork 4
51 lines (41 loc) · 1.26 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: BEASTLabs tests
on: [ push, pull_request, workflow_dispatch ]
jobs:
test-BEASTLabs:
runs-on: ubuntu-latest
steps:
- name: Checkout BEASTLabs
uses: actions/checkout@v3
with:
path: BEASTLabs
- name: Azul Zulu OpenJDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
java-package: jdk+fx
- name: Checkout beast2
uses: actions/checkout@v3
with:
repository: CompEvol/beast2
path: beast2
- name: Checkout BeastFX
uses: actions/checkout@v3
with:
repository: CompEvol/BeastFX
path: BeastFX
- name: Find build.xml
run: |
pwd
find . -name "build.xml"
- name: Build beast2
run: ant -noinput -buildfile ./beast2/build.xml compile-all
- name: Build BeastFX
run: ant -noinput -buildfile ./BeastFX/build.xml compile-allBeastFX
- name: Run BEASTlbs Ant
run: ant -noinput -buildfile ./BEASTLabs/build.xml junitBEASTlabs
# - name: Publish unit test results
# uses: EnricoMi/publish-unit-test-result-action@v2
# if: always()
# with:
# junit_files: BEASTLabs/build/junitreport/**/*.xml