8 Commits

Author SHA1 Message Date
beat4ocean
16012b2042 Merge 00d6722e02 into 8abfc923a0 2025-03-27 11:55:30 +00:00
beat4ocean
00d6722e02 [Fix] Mask and correct some test case errors 2025-03-27 19:55:22 +08:00
beat4ocean
ed0185c0af [Fix] fix maven dependency surefire-junit 2025-03-27 19:52:25 +08:00
beat4ocean
30d2a2296b [Improvement] update Centos CI 2025-03-25 19:53:21 +08:00
beat4ocean
8770aeed33 [Improvement] Add dependencies onnxruntime 2025-03-25 19:53:08 +08:00
beat4ocean
ceea8cf904 [Improvement] update maven plugin version 2025-03-25 19:52:55 +08:00
beat4ocean
ba53db33ed [Improvement] update maven properties 2025-03-24 17:48:22 +08:00
beat4ocean
6a840a3bd5 [Improvement] Upgrade dependencies fix vulnerabilities. 2025-03-24 17:25:30 +08:00
3 changed files with 10 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: almalinux:9 # maven >=3.6.3
image: almalinux:9 # 使用 almalinux 8 容器
strategy:
matrix:

View File

@@ -17,27 +17,21 @@ jobs:
java-version: [21] # Define the JDK versions to test
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
distribution: 'adopt'
- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/Library/Caches/Maven # macOS Maven cache path
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Install system dependencies
run: |
brew update
brew install cmake
brew install gcc
- name: Build with Maven
run: mvn -B package --file pom.xml

View File

@@ -261,6 +261,11 @@
<version>${mockito-inline.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.onnxruntime</groupId>
<artifactId>onnxruntime</artifactId>
<version>1.21.0</version>
</dependency>
</dependencies>
</project>