Skip to content

Commit

Permalink
ci(build-main): update for openadk (autowarefoundation#4528)
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
Signed-off-by: Oguz <[email protected]>
  • Loading branch information
xmfcx authored Mar 8, 2024
1 parent da22bdc commit 5519784
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/build-main-self-hosted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ on:
schedule:
- cron: 0 12 * * *
workflow_dispatch:
inputs:
artifacts-destination:
type: choice
description: Built images will be saved as tarball
options:
- tarball
default: tarball

jobs:
build-main-self-hosted:
Expand All @@ -17,11 +24,12 @@ jobs:
include:
- name: no-cuda
base_image_env: base_image
lib_dir: aarch64
setup-args: --no-nvidia
additional-tag-suffix: ""
- name: cuda
base_image_env: cuda_base_image
setup-args: --no-cuda-drivers
base_image_env: base_image
lib_dir: aarch64
additional-tag-suffix: -cuda
steps:
# https://github.com/actions/checkout/issues/211
Expand All @@ -45,15 +53,15 @@ jobs:
- name: Build 'autoware-universe'
uses: ./.github/actions/docker-build-and-push
with:
bake-target: autoware-universe
bake-target: autoware-openadk

Check warning on line 56 in .github/workflows/build-main-self-hosted.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (openadk)
build-args: |
*.platform=linux/arm64
*.args.ROS_DISTRO=${{ env.rosdistro }}
*.args.BASE_IMAGE=${{ env[format('{0}', matrix.base_image_env)] }}
*.args.PREBUILT_BASE_IMAGE=${{ env.prebuilt_base_image }}
*.args.SETUP_ARGS=${{ matrix.setup-args }}
tag-prefix: ${{ env.rosdistro }}-
*.args.LIB_DIR=${{ matrix.lib_dir }}
tag-suffix: ${{ matrix.additional-tag-suffix }}-arm64
tag-prefix: ${{ env.rosdistro }}
allow-push: false

- name: Show disk space
Expand Down
18 changes: 13 additions & 5 deletions .github/workflows/build-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ on:
schedule:
- cron: 0 12 * * *
workflow_dispatch:
inputs:
artifacts-destination:
type: choice
description: Built images will be saved as tarball
options:
- tarball
default: tarball

jobs:
build-main:
Expand All @@ -17,11 +24,12 @@ jobs:
include:
- name: no-cuda
base_image_env: base_image
lib_dir: x86_64
setup-args: --no-nvidia
additional-tag-suffix: ""
- name: cuda
base_image_env: cuda_base_image
setup-args: --no-cuda-drivers
base_image_env: base_image
lib_dir: x86_64
additional-tag-suffix: -cuda
steps:
- name: Check out repository
Expand All @@ -40,15 +48,15 @@ jobs:
- name: Build 'autoware-universe'
uses: ./.github/actions/docker-build-and-push
with:
bake-target: autoware-universe
bake-target: autoware-openadk

Check warning on line 51 in .github/workflows/build-main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (openadk)
build-args: |
*.platform=linux/amd64
*.args.ROS_DISTRO=${{ env.rosdistro }}
*.args.BASE_IMAGE=${{ env[format('{0}', matrix.base_image_env)] }}
*.args.PREBUILT_BASE_IMAGE=${{ env.prebuilt_base_image }}
*.args.SETUP_ARGS=${{ matrix.setup-args }}
tag-prefix: ${{ env.rosdistro }}-
*.args.LIB_DIR=${{ matrix.lib_dir }}
tag-suffix: ${{ matrix.additional-tag-suffix }}-amd64
tag-prefix: ${{ env.rosdistro }}
allow-push: false

- name: Show disk space
Expand Down

0 comments on commit 5519784

Please sign in to comment.