Skip to content

Commit

Permalink
Merge pull request #1028 from quarkiverse/llama3-missing
Browse files Browse the repository at this point in the history
Add missing llama3-java module
  • Loading branch information
geoand authored Oct 31, 2024
2 parents 42dacc6 + f6a167d commit d4a91a0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,17 @@ jobs:
- name: Run tests of ${{ matrix.module }} with JDK ${{ matrix.java }}
run: |
cd ${{ matrix.module }} && ../mvnw -B verify -Dci=true -Dno-format -ntp
cd ${{ matrix.module }} && ../mvnw -B verify -Dci=true -Dno-format -ntp
# Build Llama3.java if JDK >= 22. See https://x.com/tjake/status/1849141171475399083?t=EpgVJCPLC17fCXio0FvnhA&s=19 for the reason
- name: Build Llama3-java extension
if: ${{ matrix.java >= 22 }}
run: |
./mvnw -B clean install -DskipTests -Dno-format -ntp -f model-providers/llama3-java/pom.xml
- name: Run tests of ${{ matrix.module }} with JDK ${{ matrix.java }}
run: |
cd ${{ matrix.module }} && ../mvnw -B verify -Dci=true -Dno-format -ntp
native-tests:
Expand Down
9 changes: 9 additions & 0 deletions model-providers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@
<module>jlama</module>
</modules>
</profile>
<profile>
<id>jdk22-plus</id>
<activation>
<jdk>[22,)</jdk>
</activation>
<modules>
<module>llama3-java</module>
</modules>
</profile>
</profiles>


Expand Down

0 comments on commit d4a91a0

Please sign in to comment.