From 7994dd9e6b216511a4a2b922fa60c1c3981f3ccc Mon Sep 17 00:00:00 2001 From: Alexander Bhalla Date: Wed, 28 Jan 2026 19:24:27 -0500 Subject: [PATCH 1/3] Create Gradle CI build action --- .github/workflows/wpilib-build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/wpilib-build.yml diff --git a/.github/workflows/wpilib-build.yml b/.github/workflows/wpilib-build.yml new file mode 100644 index 0000000..cbc228e --- /dev/null +++ b/.github/workflows/wpilib-build.yml @@ -0,0 +1,22 @@ +name: WPILib Build with Gradle + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + container: wpilib/roborio-cross-ubuntu:2026-22.04-py314 + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 + + - name: Build with Gradle + run: ./gradlew build From 269709f8e4b9eb4597bf1b79f0d6f2092709b8b3 Mon Sep 17 00:00:00 2001 From: Alexander Bhalla Date: Wed, 28 Jan 2026 19:33:30 -0500 Subject: [PATCH 2/3] Install JDK 21 --- .github/workflows/wpilib-build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/wpilib-build.yml b/.github/workflows/wpilib-build.yml index cbc228e..cd67e6d 100644 --- a/.github/workflows/wpilib-build.yml +++ b/.github/workflows/wpilib-build.yml @@ -15,6 +15,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 From 680aa86b48cfc1fb0353221163db8d493f4aef29 Mon Sep 17 00:00:00 2001 From: Alexander Bhalla Date: Wed, 28 Jan 2026 19:35:16 -0500 Subject: [PATCH 3/3] chmod +x ./gradlew --- gradlew | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 gradlew diff --git a/gradlew b/gradlew old mode 100644 new mode 100755