Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Literally everything #47

Literally everything

Literally everything #47

Workflow file for this run

name: Build
on:
push:
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
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: Build robot code
run: ./gradlew build
- name: Run simulation
run: timeout 1m ./gradlew simulateJava 2>&1 | awk -v rc=0 '/The robot program quit unexpectedly/ { rc=1 } 1; END {exit rc}'