File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change 1
- # This workflow will build a Java project with Maven
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3
-
4
1
name : sdk-java Verify
5
2
6
3
on :
14
11
jobs :
15
12
build :
16
13
runs-on : ubuntu-latest
14
+
17
15
steps :
18
- - uses : actions/checkout@v4
16
+ # 1. Checkout this repo
17
+ - name : Checkout sdk-java
18
+ uses : actions/checkout@v4
19
+
20
+ # 2. (Temporary) Checkout the langchain4j repo at agentic-module
21
+ - name : Checkout langchain4j (agentic-module)
22
+ uses : actions/checkout@v4
23
+ with :
24
+ repository : mariofusco/langchain4j
25
+ ref : agentic-module
26
+ path : langchain4j
19
27
28
+ # 3. Set up JDK 17 for both builds
20
29
- name : Set up JDK 17
21
30
uses : actions/setup-java@v4
22
31
with :
23
32
distribution : temurin
24
33
java-version : 17
25
34
cache : ' maven'
26
35
36
+ # 4. Build the external agentic module
37
+ - name : Build langchain4j-agentic
38
+ run : |
39
+ make -C langchain4j build
40
+ mvn -B -f langchain4j/langchain4j-agentic/pom.xml clean install -DskipTests
41
+
42
+ # 5. Verify the main sdk-java project, excluding the two agentic modules
27
43
- name : Verify with Maven
28
44
run : |
29
45
mvn -B -f pom.xml clean install verify \
30
46
-pl ",!fluent/agentic" -pl ",!experimental/agentic" \
31
47
-am
32
48
49
+ # 6. Verify examples
33
50
- name : Verify Examples with Maven
34
51
run : |
35
52
mvn -B -f examples/pom.xml clean install verify
You can’t perform that action at this time.
0 commit comments