Commit Graph

17 Commits (3d08dcc3b27936cb14c0eae63605be9a6c077380)

Author SHA1 Message Date
Adeeb 0499ae46b7
Static C/C++ analysis in CI (#1564) 2020-05-28 01:46:30 -07:00
Willem Melching c1886486a5 Revert "Add pre commit config to docker"
This reverts commit 64e1145b50.
2020-05-27 18:50:53 -07:00
Willem Melching 64e1145b50 Add pre commit config to docker 2020-05-27 18:50:22 -07:00
Adeeb Shihadeh e73e0bc2ca add dependency for new CI test so test branch doesn't invalidate cache 2020-05-25 22:15:01 -07:00
Adeeb 45ee131a44
Fast CI (#1537)
* don't compile in docker build stage

* disable that for now

* do we need that?

* upload artifact already compresses

* that wasn't faster

This reverts commit 2221e13c71b5cc693dd3bebfa4061d4ab6821437.

* try that

* don't think that's used

* this too

* check this

* less layers

* that's not in the dockerfile anymore

* system

* even less layers and clear pipenv cache

* no inline comment i guess

* uninstall pipenv after we're done with it

* separate build job adds too much overhead

* quotes

* clean that up

* increase timeout

* cleanup
2020-05-19 02:12:57 -07:00
Adeeb Shihadeh 6c46630293 no pip cache in docker build, compressed docker image is 70MB smaller 2020-05-17 14:47:54 -07:00
Adeeb Shihadeh 2063a370d3 don't need external in CI, compressed docker image is 50MB smaller 2020-05-17 14:01:38 -07:00
Adeeb 31346264b5
Faster CI (#1527) 2020-05-16 21:38:38 -07:00
Willem Melching 28bf5d1dd8
Rednose (#1503)
* add rednose

* update rednose

* This compiles

* Add rednose to release

* cleanup

* Extract generated dir as argument

* Add constants.py to release

* Add rednose to dockerfile

* Fix that
2020-05-14 15:36:56 -07:00
Willem Melching 72db8d890d
Library cleanup (#1491)
* library cleanup

* remove fastcv

* Fix build step

* bump cereal

* bump cereal

* Install capnp

* bump

* no docker cache

* Update installation instructions

* Needs sudo

* Can we sudo?

* Cache was not the problem

* remove static libraries from boardd install script

* Update setup script

* Remove import

* No capnp install in lgtm

* Fix dockerfile
2020-05-12 18:50:07 -07:00
George Hotz 4252028a84
Integrate codecov.io (#1465)
* integrate codecov

* add codecov to readme

* don't need the token

* fix badges

* /bin/bash, not /bin/sh

* needs coverage in the docker

* from the git root

* add CI_ENV like https://docs.codecov.io/docs/testing-with-docker

* custom upload step

* use codecov action

* coverage xml

* add unit tests, good luck

* name the container tmppilot

* add name, fix unit tests

* yml, fix coveragerc-app

* remove tmp/openpilot

* try without xml

* just call the upload script in docker

* ugh, i hate docker

* idk env

* yaml?

* don't be clever

* maybe this

* running out of ideas

* coverage xml maybe

* upload coverage.xml

* ugh CI_RUN

* unneeded artifact

Co-authored-by: George Hotz <geohot@gmail.com>
2020-05-04 14:03:16 -07:00
Harald Schafer 568036e42d py3.8 2020-04-28 17:48:47 -07:00
Adeeb e816de6ba2
Optimize copy order in Dockerfile for better caching (#1150) 2020-02-21 17:08:53 -08:00
Willem Melching 47fd50ca60
Kalman filter compilation cleanup (#1080)
* start cleanup

* create generated dir if not exist

* tests pass!

* everything works again

* also convert live_kf to new structure

* Remove sympy helpers from file list

* Add laika to docker container

* Only build models that are present
2020-02-12 09:40:28 -08:00
Willem Melching dfded79673 Tools is now in openpilot, and use prebuilt capnp 2020-01-17 13:13:02 -08:00
Willem Melching 7f813d23ce cleanup and make linting part of ci work 2020-01-17 13:03:44 -08:00
George Hotz 012535a84e root directory non hidden files 2020-01-17 10:22:00 -08:00