4 Commits

Author SHA1 Message Date
beat4ocean
6cfb2fe808 Merge 0e7b4311a8 into 8abfc923a0 2025-03-27 20:40:52 +08:00
beat4ocean
0e7b4311a8 [Improvement] update Centos and Mac CI 2025-03-27 20:35:55 +08:00
beat4ocean
b7a297c85d [Fix] Mask and correct some test case errors
(cherry picked from commit 00d6722e02)
2025-03-27 20:35:04 +08:00
beat4ocean
cf41fa14e2 [Improvement] Upgrade dependencies fix vulnerabilities. 2025-03-27 20:34:51 +08:00
3 changed files with 11 additions and 10 deletions

View File

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

View File

@@ -17,21 +17,27 @@ jobs:
java-version: [21] # Define the JDK versions to test
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'adopt'
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@v4
uses: actions/cache@v3
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,11 +261,6 @@
<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>