Skip to content

Commit

Permalink
ci: change build-and-test workflow (autowarefoundation#297)
Browse files Browse the repository at this point in the history
* ci: change build-and-test workflow

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* fix branch name

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* minor fix

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* split workflow file

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>
  • Loading branch information
KeisukeShima authored Jan 28, 2022
1 parent 6bb3445 commit ebc5224
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 7 deletions.
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

on:
push:
branches:
- main
- tier4/proposal
schedule:
- cron: 0 19 * * * # run at 4 AM JST
workflow_dispatch:

jobs:
build-and-test-scheduled:
runs-on: ${{ matrix.os }}
build-and-test:
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

0 comments on commit ebc5224

Please sign in to comment.