-
Notifications
You must be signed in to change notification settings - Fork 16
56 lines (46 loc) · 1.94 KB
/
B-combatibility-tests.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
52
53
54
55
56
name: B Compatibility tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
java-version: 8.0
distribution: temurin
cache: maven
- name: Cache Eclipse binaries
id: cache-eclipse
uses: actions/cache@v4
with:
path: clover-eclipse-libs/target/download
key: ${{ runner.os }}-eclipse-${{ hashFiles('clover-eclipse-libs/pom.xml') }}
- name: Cache IDEA binaries
id: cache-idea
uses: actions/cache@v4
with:
path: clover-idea-libs/target/download
key: ${{ runner.os }}-idea-${{ hashFiles('clover-idea-libs/pom.xml') }}
- name: Prepare third party libraries
run: |
mvn --batch-mode install -f clover-core-libs/jarjar/pom.xml
mvn --batch-mode install -Pworkspace-setup -f clover-core-libs/pom.xml
mvn --batch-mode install -Pworkspace-setup -f clover-eclipse-libs/pom.xml
mvn --batch-mode install -Pworkspace-setup -f clover-idea-libs/pom.xml
- name: Download KTreemap fork
run: |
wget https://packages.atlassian.com/mvn/maven-atlassian-external/net/sf/jtreemap/ktreemap/1.1.0-atlassian-01/ktreemap-1.1.0-atlassian-01.jar
wget https://packages.atlassian.com/mvn/maven-atlassian-external/net/sf/jtreemap/ktreemap/1.1.0-atlassian-01/ktreemap-1.1.0-atlassian-01.pom
mvn --batch-mode install:install-file -Dfile=ktreemap-1.1.0-atlassian-01.jar -DpomFile=ktreemap-1.1.0-atlassian-01.pom
- name: Compile and pack all modules
run: |
mvn --batch-mode install -DskipTests=true
- name: Run matrix tests for clover-groovy and tests-functional
run: |
mvn --batch-mode verify -pl clover-groovy,tests-functional -Pcompatibility