update to ubuntu 24.04 (#1941)

* update to ubuntu 24.04

* Apply suggestions from code review

* Update .github/workflows/repo.yml

* Update test.yaml

* docker builds

* bump

* no pyenv

* ugh this should just be removed

* fix

* add release/

* no openpilot

* remove those too

* build in the docker

* cleanup

* need the addons
This commit is contained in:
Adeeb Shihadeh
2024-04-28 15:32:18 -07:00
committed by GitHub
parent d4a01f7555
commit 53e0f13739
5 changed files with 33 additions and 62 deletions

View File

@@ -4,7 +4,7 @@ on: [push, pull_request]
jobs:
build_socketcan:
name: socketcan build
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2

View File

@@ -8,7 +8,7 @@ on:
jobs:
pre-commit-autoupdate:
name: pre-commit autoupdate
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
container:
image: ghcr.io/commaai/panda:latest
steps:

View File

@@ -21,7 +21,7 @@ env:
jobs:
docker_push:
name: docker push
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
timeout-minutes: 20
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/panda'
steps:
@@ -38,7 +38,7 @@ jobs:
build:
name: build
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v2
@@ -57,7 +57,7 @@ jobs:
unit_tests:
name: unit tests
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v2
@@ -70,7 +70,7 @@ jobs:
safety:
name: safety
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
flags: ['', '--ubsan']
@@ -82,16 +82,13 @@ jobs:
- name: Run safety tests
timeout-minutes: 5
run: |
${{ env.RUN }} "cd .. && \
scons -c && \
scons -j$(nproc) opendbc/ cereal/ && \
cd panda && \
${{ env.RUN }} "scons -c -j$(nproc) && \
scons -j$(nproc) ${{ matrix.flags }} && \
tests/safety/test.sh"
misra:
name: MISRA C:2012
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v2
@@ -108,7 +105,7 @@ jobs:
python_linter:
name: python linter
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v2