|
|
|
@ -26,7 +26,7 @@ env: |
|
|
|
|
jobs: |
|
|
|
|
build_release: |
|
|
|
|
name: build release |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
env: |
|
|
|
|
STRIPPED_DIR: /tmp/releasepilot |
|
|
|
|
steps: |
|
|
|
@ -71,7 +71,7 @@ jobs: |
|
|
|
|
((github.repository == 'commaai/openpilot') && |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && '["x86_64", "aarch64"]' || '["x86_64"]' ) }} |
|
|
|
|
runs-on: ${{ (matrix.arch == 'aarch64') && 'namespace-profile-arm64-2x8' || 'ubuntu-20.04' }} |
|
|
|
|
runs-on: ${{ (matrix.arch == 'aarch64') && 'namespace-profile-arm64-2x8' || 'ubuntu-latest' }} |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
with: |
|
|
|
@ -87,7 +87,7 @@ jobs: |
|
|
|
|
strategy: |
|
|
|
|
matrix: |
|
|
|
|
arch: ${{ fromJson( (github.repository == 'commaai/openpilot') && '["x86_64", "aarch64"]' || '["x86_64"]' ) }} |
|
|
|
|
runs-on: ${{ (matrix.arch == 'aarch64') && 'namespace-profile-arm64-2x8' || 'ubuntu-20.04' }} |
|
|
|
|
runs-on: ${{ (matrix.arch == 'aarch64') && 'namespace-profile-arm64-2x8' || 'ubuntu-latest' }} |
|
|
|
|
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot' |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
@ -104,7 +104,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
docker_push_multiarch: |
|
|
|
|
name: docker push multiarch tag |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot' |
|
|
|
|
needs: [docker_push] |
|
|
|
|
steps: |
|
|
|
@ -123,7 +123,7 @@ jobs: |
|
|
|
|
name: static analysis |
|
|
|
|
runs-on: ${{ ((github.repository == 'commaai/openpilot') && |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }} |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }} |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
with: |
|
|
|
@ -136,7 +136,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
valgrind: |
|
|
|
|
name: valgrind |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
with: |
|
|
|
@ -156,7 +156,7 @@ jobs: |
|
|
|
|
name: unit tests |
|
|
|
|
runs-on: ${{ ((github.repository == 'commaai/openpilot') && |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }} |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }} |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
with: |
|
|
|
@ -187,7 +187,7 @@ jobs: |
|
|
|
|
name: process replay |
|
|
|
|
runs-on: ${{ ((github.repository == 'commaai/openpilot') && |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }} |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }} |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
with: |
|
|
|
@ -234,7 +234,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
regen: |
|
|
|
|
name: regen |
|
|
|
|
runs-on: 'ubuntu-20.04' |
|
|
|
|
runs-on: 'ubuntu-latest' |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
with: |
|
|
|
@ -259,7 +259,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
test_modeld: |
|
|
|
|
name: model tests |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
with: |
|
|
|
@ -294,7 +294,7 @@ jobs: |
|
|
|
|
name: cars |
|
|
|
|
runs-on: ${{ ((github.repository == 'commaai/openpilot') && |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }} |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }} |
|
|
|
|
strategy: |
|
|
|
|
fail-fast: false |
|
|
|
|
matrix: |
|
|
|
@ -329,7 +329,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
car_docs_diff: |
|
|
|
|
name: PR comments |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
if: github.event_name == 'pull_request' |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
@ -383,7 +383,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
create_ui_report: |
|
|
|
|
name: Create UI Report |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
with: |
|
|
|
|