Stop using gradlew in gitlab-ci, collapse proto codegen into a single job, add pipeline cacheing

These changes all make the pipeline run much faster for incremental builds.
This commit is contained in:
Michael Pivato
2020-11-22 05:52:53 +00:00
parent 775a0149d3
commit 2d93438eb8
4 changed files with 42 additions and 43 deletions

View File

@@ -24,8 +24,8 @@ func getVehicle2D() throws -> Vehicle2D? {
let serialPort = SerialPort(path: "/dev/ttyUSB0")
// The port does not open/initialise inside of the ESP32ServoOutputs, as on macOS /dev/cu.* blocks.
try initPort.openPort()
initPort.setSettings(receiveRate: .baud115200, transmitRate: .baud115200, minimumBytesToRead: 1)x
try serialPort.openPort()
serialPort.setSettings(receiveRate: .baud115200, transmitRate: .baud115200, minimumBytesToRead: 1)
guard let throttlePin = Esp32ServoOutput(forChannel: 1, forPin: 14, onPort: serialPort) else {
print("Failed to create throttle pin.")
return nil