Skip to content

Commit

Permalink
ci: split ARM workflow (tier4#40)
Browse files Browse the repository at this point in the history
Signed-off-by: Kenji Miyake <[email protected]>
  • Loading branch information
kenji-miyake authored Feb 1, 2022
1 parent 6235781 commit 8a07baa
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 5 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-arm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: build-arm

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

jobs:
build-arm:
runs-on: [self-hosted, linux, ARM64]
container: ubuntu:20.04
steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Run setup script
run: |
./setup-dev-env.sh -y universe
- name: Run vcs import
run: |
mkdir src
vcs import src < autoware.repos
- name: Run rosdep install
run: |
sudo apt-get -y update
rosdep update
DEBIAN_FRONTEND=noninteractive rosdep install -y --from-paths src --ignore-src --rosdistro galactic
- name: Build
run: |
. /opt/ros/galactic/setup.sh
colcon build --event-handlers console_cohesion+ --cmake-args -DCMAKE_BUILD_TYPE=Release
6 changes: 1 addition & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@ on:

jobs:
build:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
container: ubuntu:20.04
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ARM64]
steps:
- name: Check out repository
uses: actions/checkout@v2
Expand Down

0 comments on commit 8a07baa

Please sign in to comment.