mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
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:
2
.github/workflows/drivers.yaml
vendored
2
.github/workflows/drivers.yaml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/repo.yml
vendored
2
.github/workflows/repo.yml
vendored
@@ -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:
|
||||
|
||||
17
.github/workflows/test.yaml
vendored
17
.github/workflows/test.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user