From eeb6193f64bbf4fce93ac4aba51ef91bd839f0f5 Mon Sep 17 00:00:00 2001 From: SendableMetatype <263203301+SendableMetatype@users.noreply.github.com> Date: Sat, 5 Sep 2026 16:24:53 +0200 Subject: [PATCH] ci: test the windows arm64 natives on a native runner The windows_arm64 lane uploads its classifier jar like the linux cross lanes. The native test job gains a windows-11-arm entry. The Microsoft JDK is the distribution that ships Windows aarch64 builds of JDK 17. --- .github/workflows/build.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16ad4828..5c63b2fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,6 +48,14 @@ jobs: maven-username: ${{ secrets.MAVEN_USERNAME }} maven-password: ${{ secrets.MAVEN_TOKEN }} + - name: Upload natives for native testing + if: matrix.platform.name == 'windows_arm64' + uses: actions/upload-artifact@v4 + with: + name: natives-${{ matrix.platform.name }} + path: webrtc-jni/target/webrtc-java-*.jar + if-no-files-found: error + build-linux: strategy: fail-fast: false @@ -126,11 +134,17 @@ jobs: maven-password: ${{ secrets.MAVEN_TOKEN }} test-natives: - needs: build-linux + needs: [build-windows, build-linux] strategy: fail-fast: false matrix: platform: + - name: windows_arm64 + runs-on: windows-11-arm + classifier: windows-aarch64 + profile: windows-aarch64 + java-distribution: microsoft + java-architecture: aarch64 - name: linux_arm64 runs-on: ubuntu-22.04-arm classifier: linux-aarch64