|
|
@ -35,7 +35,7 @@ jobs: |
|
|
|
env: |
|
|
|
env: |
|
|
|
STRIPPED_DIR: /tmp/releasepilot |
|
|
|
STRIPPED_DIR: /tmp/releasepilot |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: git lfs pull |
|
|
|
- run: git lfs pull |
|
|
@ -77,7 +77,7 @@ jobs: |
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && '["x86_64", "aarch64"]' || '["x86_64"]' ) }} |
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && '["x86_64", "aarch64"]' || '["x86_64"]' ) }} |
|
|
|
runs-on: ${{ (matrix.arch == 'aarch64') && 'buildjet-2vcpu-ubuntu-2204-arm' || 'ubuntu-20.04' }} |
|
|
|
runs-on: ${{ (matrix.arch == 'aarch64') && 'buildjet-2vcpu-ubuntu-2204-arm' || 'ubuntu-20.04' }} |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
@ -97,7 +97,7 @@ jobs: |
|
|
|
runs-on: ${{ (matrix.arch == 'aarch64') && 'buildjet-2vcpu-ubuntu-2204-arm' || 'ubuntu-20.04' }} |
|
|
|
runs-on: ${{ (matrix.arch == 'aarch64') && 'buildjet-2vcpu-ubuntu-2204-arm' || 'ubuntu-20.04' }} |
|
|
|
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot' |
|
|
|
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot' |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- name: Setup to push to repo |
|
|
|
- name: Setup to push to repo |
|
|
@ -120,7 +120,7 @@ jobs: |
|
|
|
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot' |
|
|
|
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot' |
|
|
|
needs: [docker_push] |
|
|
|
needs: [docker_push] |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: false |
|
|
|
submodules: false |
|
|
|
- name: Setup docker |
|
|
|
- name: Setup docker |
|
|
@ -135,7 +135,7 @@ jobs: |
|
|
|
name: static analysis |
|
|
|
name: static analysis |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
@ -147,7 +147,7 @@ jobs: |
|
|
|
name: valgrind |
|
|
|
name: valgrind |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
@ -165,7 +165,7 @@ jobs: |
|
|
|
name: unit tests |
|
|
|
name: unit tests |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
@ -190,7 +190,7 @@ jobs: |
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'buildjet-8vcpu-ubuntu-2004' || 'ubuntu-20.04' }} |
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'buildjet-8vcpu-ubuntu-2004' || 'ubuntu-20.04' }} |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
@ -232,7 +232,7 @@ jobs: |
|
|
|
name: regen |
|
|
|
name: regen |
|
|
|
runs-on: 'ubuntu-20.04' |
|
|
|
runs-on: 'ubuntu-20.04' |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
@ -259,7 +259,7 @@ jobs: |
|
|
|
name: model tests |
|
|
|
name: model tests |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
@ -295,7 +295,7 @@ jobs: |
|
|
|
matrix: |
|
|
|
matrix: |
|
|
|
job: [0, 1, 2, 3, 4] |
|
|
|
job: [0, 1, 2, 3, 4] |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
@ -323,7 +323,7 @@ jobs: |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
if: github.event_name == 'pull_request' |
|
|
|
if: github.event_name == 'pull_request' |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
ref: ${{ github.event.pull_request.base.ref }} |
|
|
|
ref: ${{ github.event.pull_request.base.ref }} |
|
|
@ -333,7 +333,7 @@ jobs: |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
${{ env.RUN }} "scons -j$(nproc) && python selfdrive/debug/dump_car_info.py --path /tmp/openpilot_cache/base_car_info" |
|
|
|
${{ env.RUN }} "scons -j$(nproc) && python selfdrive/debug/dump_car_info.py --path /tmp/openpilot_cache/base_car_info" |
|
|
|
sudo chown -R $USER:$USER ${{ github.workspace }} |
|
|
|
sudo chown -R $USER:$USER ${{ github.workspace }} |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
path: current |
|
|
|
path: current |
|
|
|