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