Skip to content

Commit 8a07baa

Browse files
authored
ci: split ARM workflow (tier4#40)
Signed-off-by: Kenji Miyake <[email protected]>
1 parent 6235781 commit 8a07baa

File tree

2 files changed

+35
-5
lines changed

2 files changed

+35
-5
lines changed

.github/workflows/build-arm.yaml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: build-arm
2+
3+
on:
4+
schedule:
5+
- cron: 0 19 * * 0 # run at 4 AM JST on Sundays
6+
workflow_dispatch:
7+
8+
jobs:
9+
build-arm:
10+
runs-on: [self-hosted, linux, ARM64]
11+
container: ubuntu:20.04
12+
steps:
13+
- name: Check out repository
14+
uses: actions/checkout@v2
15+
16+
- name: Run setup script
17+
run: |
18+
./setup-dev-env.sh -y universe
19+
20+
- name: Run vcs import
21+
run: |
22+
mkdir src
23+
vcs import src < autoware.repos
24+
25+
- name: Run rosdep install
26+
run: |
27+
sudo apt-get -y update
28+
rosdep update
29+
DEBIAN_FRONTEND=noninteractive rosdep install -y --from-paths src --ignore-src --rosdistro galactic
30+
31+
- name: Build
32+
run: |
33+
. /opt/ros/galactic/setup.sh
34+
colcon build --event-handlers console_cohesion+ --cmake-args -DCMAKE_BUILD_TYPE=Release

.github/workflows/build.yaml

+1-5
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ${{ matrix.os }}
10+
runs-on: ubuntu-latest
1111
container: ubuntu:20.04
12-
strategy:
13-
fail-fast: false
14-
matrix:
15-
os: [ubuntu-latest, ARM64]
1612
steps:
1713
- name: Check out repository
1814
uses: actions/checkout@v2

0 commit comments

Comments
 (0)