-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (57 loc) · 1.89 KB
/
Copy pathcore-module-build.yml
File metadata and controls
67 lines (57 loc) · 1.89 KB
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
57
58
59
60
61
62
63
64
65
66
67
name: Core Module Build
on:
push:
paths:
- 'sandbox-functional-converter-core/**'
- 'sandbox_common_core/**'
- 'sandbox_mining_cli/**'
- 'sandbox_mining_core/**'
- '.github/workflows/core-module-build.yml'
pull_request:
paths:
- 'sandbox-functional-converter-core/**'
- 'sandbox_common_core/**'
- 'sandbox_mining_cli/**'
- 'sandbox_mining_core/**'
- '.github/workflows/core-module-build.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build and Test Functional Converter Core
working-directory: sandbox-functional-converter-core
run: mvn clean verify
- name: Build and Test Common Core
working-directory: sandbox_common_core
run: mvn clean verify
- name: Build and Test Mining CLI
run: |
mvn install -N -q
mvn install -pl sandbox_common_core -DskipTests -q
mvn clean verify -pl sandbox_mining_cli
- name: Build and Test Mining Core
run: |
mvn install -N -q
mvn install -pl sandbox_common_core -DskipTests -q
mvn clean verify -pl sandbox_mining_core
- name: Upload Test Results
uses: actions/upload-artifact@v7
if: always()
with:
name: test-results
path: |
sandbox-functional-converter-core/target/surefire-reports/
sandbox_common_core/target/surefire-reports/
sandbox_mining_cli/target/surefire-reports/
sandbox_mining_core/target/surefire-reports/