From 09a216813cb8e0a269cd2085382f7616ced31d5e Mon Sep 17 00:00:00 2001 From: Marc Pulte Date: Tue, 23 Jan 2024 12:21:38 -0500 Subject: [PATCH] Added build --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..74db03ce --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build + +on: + push: + pull_request: + branches: + - main + +jobs: + build: + name: Build + runs-on: ubuntu-22.04 + container: wpilib/roborio-cross-ubuntu:2024-22.04 + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: Grant execute permission + run: chmod +x gradlew + - name: Check formatting + run: ./gradlew spotlessCheck + - name: Build and test + run: ./gradlew build \ No newline at end of file