Skip to content

Commit e832957

Browse files
committed
Merge branch 'main' of github.com:strykeforce/reefscape
2 parents cc230a5 + df54e3a commit e832957

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.github/workflows/main.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the main branch
8+
push:
9+
branches: [ main ]
10+
pull_request:
11+
branches: [ main ]
12+
13+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+
jobs:
15+
# This workflow contains a single job called "build"
16+
build:
17+
# The type of runner that the job will run on
18+
runs-on: ubuntu-22.04
19+
20+
#Gets latest WPILib docker container
21+
container: wpilib/roborio-cross-ubuntu:2025-22.04
22+
23+
# Steps represent a sequence of tasks that will be executed as part of the job
24+
steps:
25+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26+
- uses: actions/checkout@v4
27+
28+
# Declares the repository safe and not under dubious ownership
29+
- name: Add repository to git safe directories
30+
run: git config --global --ad safe.directory $GITHUB_WORKSPACE
31+
32+
# Grant execute perimssions for gradlew
33+
- name: Grant execute permission for gradlew
34+
run: chmod +x gradlew
35+
36+
# Runs a single command using the runners shell
37+
- name: Build with Gradle
38+
run: ./gradlew build

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# 2025 FIRST REEFSCAPE
22

3+
[![CI](https://github.com/strykeforce/reefscape/actions/workflows/main.yml/badge.svg)](https://github.com/strykeforce/reefscape/actions/workflows/main.yml)
4+
35
## Controls
46

57
### Driver Controller

0 commit comments

Comments
 (0)