From e143b4e89d319d9564e0191b905e93d361729b88 Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Sat, 7 Dec 2024 16:43:26 -0500 Subject: [PATCH 1/3] update nativeutils to fix arm builds --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 5e3fa38..1460d10 100644 --- a/build.gradle +++ b/build.gradle @@ -4,8 +4,8 @@ plugins { id 'cpp' id 'java' id 'google-test' - id 'edu.wpi.first.wpilib.repositories.WPILibRepositoriesPlugin' version '2020.2' - id 'edu.wpi.first.NativeUtils' version '2025.6.0' + id 'edu.wpi.first.wpilib.repositories.WPILibRepositoriesPlugin' version '2025.0' + id 'edu.wpi.first.NativeUtils' version '2025.8.0' id 'edu.wpi.first.GradleJni' version '1.1.0' id 'edu.wpi.first.GradleVsCode' version '2.1.0' } From 0171cffa28f87975a2c3322e51fa354631521c30 Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Sat, 7 Dec 2024 16:23:52 -0500 Subject: [PATCH 2/3] Pin CI to 22.04 and fix macos arch + target --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3651b2..e062827 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: artifact-name: Linux build-options: "" name: "Build - ${{ matrix.artifact-name }}" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ${{ matrix.container }} steps: - uses: actions/checkout@v4 @@ -40,7 +40,7 @@ jobs: build-host: env: - MACOSX_DEPLOYMENT_TARGET: 13 + MACOSX_DEPLOYMENT_TARGET: 13.3 strategy: fail-fast: false matrix: @@ -50,7 +50,7 @@ jobs: architecture: x64 - os: macos-14 artifact-name: macOS - architecture: x64 + architecture: aarch64 name: "Build - ${{ matrix.artifact-name }}" runs-on: ${{ matrix.os }} steps: @@ -74,7 +74,7 @@ jobs: combine: name: Combine needs: [build-docker, build-host] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 with: From 7802bfc3afc4711194ff515831af2e1831441311 Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Sat, 7 Dec 2024 16:47:41 -0500 Subject: [PATCH 3/3] update opencv version --- build.gradle | 2 +- config.gradle | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 1460d10..aa9f9af 100644 --- a/build.gradle +++ b/build.gradle @@ -45,7 +45,7 @@ dependencies { implementation "com.fasterxml.jackson.core:jackson-annotations:2.15.2" implementation "com.fasterxml.jackson.core:jackson-core:2.15.2" implementation "com.fasterxml.jackson.core:jackson-databind:2.15.2" - implementation 'edu.wpi.first.thirdparty.frc2024.opencv:opencv-java:4.8.0-4' + implementation 'edu.wpi.first.thirdparty.frc2025.opencv:opencv-java:4.10.0-2' testImplementation 'org.junit.jupiter:junit-jupiter:5.10.1' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' diff --git a/config.gradle b/config.gradle index 118c35b..7fbb023 100644 --- a/config.gradle +++ b/config.gradle @@ -9,9 +9,9 @@ nativeUtils { wpi { configureDependencies { wpiVersion = wpilibVersion - opencvYear = "frc2024" + opencvYear = "frc2025" niLibVersion = "2025.0.0" - opencvVersion = "4.8.0-4" + opencvVersion = "4.10.0-2" } } }