-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
781 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: New feature | ||
about: Template for adding new features to the robot code. | ||
title: Adds... | ||
labels: feature | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Purpose** | ||
The purpose of this addition is to X. | ||
|
||
**Project Scope** | ||
- [ ] Add X | ||
- [ ] Implement X |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: CI | ||
run-name: ${{ github.event.pull_request.head.ref }} | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ '**' ] | ||
jobs: | ||
# The "format" job checks that the style guide is followed correctly. | ||
format: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Use actions/checkout@v4 with fetch-depth: 0 to get a deep checkout for the formatter. | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# Grant execute permission for gradlew | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
# Checks the code format with gradle | ||
- name: Check formatting | ||
run: ./gradlew spotlessCheck | ||
|
||
# The "build" job checks that the robot code builds correctly and that any unit tests pass. | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# This grabs the WPILib docker container | ||
container: wpilib/roborio-cross-ubuntu:2024-22.04 | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
# Use actions/checkout@v4 with fetch-depth: 0 to get a deep checkout for the formatter. | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# Grant execute permission for gradlew | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
# Runs a single command using the runners shell | ||
- name: Compile and run tests on robot code | ||
run: ./gradlew build | ||
|
||
# Upload test artifacts | ||
- name: Upload artifacts | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: test-artifacts | ||
path: ${{ github.workspace }}/build/test-results/frcUserProgramTest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package frc.robot; | ||
|
||
/** Automatically generated file containing build version information. */ | ||
public final class BuildConstants { | ||
public static final String MAVEN_GROUP = ""; | ||
public static final String MAVEN_NAME = "high-key-2024"; | ||
public static final String VERSION = "unspecified"; | ||
public static final int GIT_REVISION = 2; | ||
public static final String GIT_SHA = "d6f3c583e188320dfc6bb16c4deda3efe3eb86ce"; | ||
public static final String GIT_DATE = "2024-08-21 18:58:11 EDT"; | ||
public static final String GIT_BRANCH = "add-vendordeps-plugins-ci"; | ||
public static final String BUILD_DATE = "2024-08-21 19:32:54 EDT"; | ||
public static final long BUILD_UNIX_TIME = 1724283174206L; | ||
public static final int DIRTY = 1; | ||
|
||
private BuildConstants() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"fileName": "AdvantageKit.json", | ||
"name": "AdvantageKit", | ||
"version": "3.2.0", | ||
"uuid": "d820cc26-74e3-11ec-90d6-0242ac120003", | ||
"frcYear": "2024", | ||
"mavenUrls": [], | ||
"jsonUrl": "https://github.com/Mechanical-Advantage/AdvantageKit/releases/latest/download/AdvantageKit.json", | ||
"javaDependencies": [ | ||
{ | ||
"groupId": "org.littletonrobotics.akit.junction", | ||
"artifactId": "wpilib-shim", | ||
"version": "3.2.0" | ||
}, | ||
{ | ||
"groupId": "org.littletonrobotics.akit.junction", | ||
"artifactId": "junction-core", | ||
"version": "3.2.0" | ||
}, | ||
{ | ||
"groupId": "org.littletonrobotics.akit.conduit", | ||
"artifactId": "conduit-api", | ||
"version": "3.2.0" | ||
} | ||
], | ||
"jniDependencies": [ | ||
{ | ||
"groupId": "org.littletonrobotics.akit.conduit", | ||
"artifactId": "conduit-wpilibio", | ||
"version": "3.2.0", | ||
"skipInvalidPlatforms": false, | ||
"isJar": false, | ||
"validPlatforms": [ | ||
"linuxathena", | ||
"windowsx86-64", | ||
"linuxx86-64", | ||
"osxuniversal" | ||
] | ||
} | ||
], | ||
"cppDependencies": [] | ||
} |
Oops, something went wrong.