Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: change build-and-test workflow #297

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/build-and-test-arm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: build-and-test-arm

on:
schedule:
- cron: 0 19 * * * # run at 4 AM JST
workflow_dispatch:

jobs:
build-and-test-arm:
runs-on: ARM64
container: ros:galactic
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Remove exec_depend
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@tier4/proposal

- name: Register AutonomouStuff repository
uses: autowarefoundation/autoware-github-actions/register-autonomoustuff-repository@tier4/proposal
with:
rosdistro: galactic

- name: Get self packages
id: get-self-packages
uses: autowarefoundation/autoware-github-actions/get-self-packages@tier4/proposal

- name: Build and test
uses: autowarefoundation/autoware-github-actions/colcon-build-and-test@tier4/proposal
with:
rosdistro: galactic
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
build-depends-repos: build_depends.repos
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: build-and-test-scheduled
name: build-and-test
kenji-miyake marked this conversation as resolved.
Show resolved Hide resolved

on:
push:
kenji-miyake marked this conversation as resolved.
Show resolved Hide resolved
branches:
- main
- tier4/proposal
kenji-miyake marked this conversation as resolved.
Show resolved Hide resolved
schedule:
- cron: 0 19 * * * # run at 4 AM JST
workflow_dispatch:

jobs:
build-and-test-scheduled:
runs-on: ${{ matrix.os }}
build-and-test:
kenji-miyake marked this conversation as resolved.
Show resolved Hide resolved
runs-on: ubuntu-latest
container: ros:galactic
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ARM64]
steps:
- name: Check out repository
uses: actions/checkout@v2
Expand Down