Commit Graph

12 Commits

Author SHA1 Message Date
Andrei Radulescu b040fcd2a9 build and push full release in CI to commaai/ci-artifacts (#287)
* package_ota.py & upload to commaai/ci-artifacts

* fix simg2img incorrectly using shell=True [upload]

* fix output path

* [upload]

* Apply suggestions from code review

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-08-07 14:24:59 -07:00
Andrei Radulescu 372633b7ba also checkout submodules (#274)
* also checkout submodules

* [upload]
2024-07-30 10:32:22 -07:00
Adeeb Shihadeh c59455d3f8 no internal (#271)
* no internal

* Update README.md

* testing

* rm private submodules

* do this the normal way now

* rm agnos-firmware

* add size

* fix mac

* files
2024-07-28 14:34:28 -07:00
Andrei Radulescu 8cddf8a52e CI: update get commit message (#258)
* updated & tested get commit message

* test
2024-07-25 12:58:40 -07:00
Andrei Radulescu e5fae93540 Build kernel in docker (#247)
* build kernel in container

* remove ci deps

* cleaning

* more cleaning

* even more cleaning

* README.md update for masOS Case-sensitive required volume

* README.md more info about macOS

* README.md more info about macOS

* README.md more info about macOS - M-series vs Intel

* README.md more info about macOS - M-series vs Intel

* extract_tools should install and pull lfs no matter the ARCH

* raise attention on macOS Case-sensitive volume

* --privileged not needed in build_kernel.sh

* remove docker and git checks

* set -e

* always build image

* updated host user in container

* also works with sudo/root

* removed deps in ci since they are not needed anymore

* agnos-meta-builder

* show macOS support only if current path is not on a Case-sensitive APFS volume

* more succint

* just exit

* fixing caching issues

* cache kernel out

* cleaning

* debug out

* ccache-action no needed anymore

* debug

* rebuild

* remove out cache

* revert ccache action

* create-symlink not needed since it's building in the container

* simpler ccache key name

* cleaning

* rebuild

* git ignore .ccache

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-07-25 10:47:56 -07:00
Parsa Nobahari 95ef1a6c81 updating setup-python@v4 to v5 in tests.yaml (#256) 2024-07-24 09:41:20 -07:00
Andrei Radulescu 8612508955 CI: add system build (#251)
* incremental caching

* increase timeout to 40min; remove if: cache-hits

* rm that

* simplified to have one kernel cache

* [upload] tag for upload-artifact

* [upload] test

* custom key/restore for ccache

* removed if in get commit message

* timeout to 60min

* multiline support in LAST_COMMIT_MESSAGE

* Update .github/workflows/build.yaml

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-07-21 16:07:32 -07:00
Adeeb Shihadeh 486e7a538e CI: speedup pre-commit (#241)
* CI: speedup pre-commit

* ugh, no v3
2024-07-14 11:06:50 -07:00
Cameron Clough b5f39a4b62 Build kernel in CI (#231)
* build workflow

* submodule example

* just agnos-kernel-sdm845

* filter

* ubuntu20

* unecessary

* cancel in progress

* upload

* try ccache...

* test ccache

* cache out dir

* v4

* cleanup

* ccache again...

* skip system for now

* try this

* allow override CC

* improve cache hit

* fix

* test if this matters

* don't append timestamp

* try again

* empty

* doesn't help

* test

* Revert "test"

This reverts commit e3a7db8bd5.

* test

* Revert "test"

This reverts commit 42e9ebaaac.

* build system again

* more space

* longer timeout...

* CI froze

* use namespace labs remote builder

* permissions

* try again

* nscloud

* permissions

* ubuntu 20

* wip

* upload kernel modules

* build_kernel arch fix

Co-authored-by: Andrei Radulescu <andi.radulescu@gmail.com>

* lfs clone

* .

* namespace doesn't support git filter

* no perms

* fix typo

* namespace ubuntu2004 doesn't have python2...

* update name

* oh

* no wget

* fix arm64 check

* mount container

Co-authored-by: Andrei Radulescu <andi.radulescu@gmail.com>

* missing deps

* switch to pyenv-action which caches

* update nscloud-checkout-action

* reduce timeout

* run network stuff in container

* test cache

* cache kernel: does this work?

* try again

* test kernel cache

* use github cache action

* test kernel cache

* try actions/checkout

* kernel: cache intermediate build outputs

* name

* test cache 1

* don't skip kernel build

* always set arch to arm64

* just kernel

* fix that

---------

Co-authored-by: Andrei Radulescu <andi.radulescu@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-07-14 11:00:59 -07:00
Adeeb Shihadeh 4d551cee9d Update tests.yaml 2024-04-25 17:13:47 -07:00
Adeeb Shihadeh 52b83f9638 update python to 3.11.4 (#120)
* 3.11.4

* pre-commit

* revert pycapnp

* revert pycapnp

* update pyqt

* try this

* unpin

* Revert "unpin"

This reverts commit d97316717d.

* comment

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2023-07-05 17:40:34 -07:00
Adeeb Shihadeh 18f4bd76c0 little bit of ci (#96)
* more pre-commit

* run in ci

* fix violations

* cleanup
2022-10-22 18:07:59 -07:00