-
Notifications
You must be signed in to change notification settings - Fork 2
51 lines (45 loc) · 1.16 KB
/
test_linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
#----------------------------------------------------------------------------------------
# FILENAME:
# test_linux.yml
# DESCRIPTION:
# GitHub Actions configuration for Linux.
# AUTHOR:
# Adam Erickson (Nervosys)
# DATE:
# 2024-02-20
# NOTES:
#
# Copyright © 2024 Nervosys, LLC
#----------------------------------------------------------------------------------------
name: "Build: Linux"
on:
push:
branches:
- master
pull_request:
branches:
- master
types: [opened, synchronize, reopened, closed]
# workflow_dispatch:
jobs:
build-ubuntu:
runs-on: ${{ matrix.os }} # ubuntu-latest
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04] # versions 20, 22
arch:
- amd64
# - arm64
steps:
- uses: actions/checkout@v4
- name: "Install AutonomySim Dependencies"
shell: bash
run: bash ./scripts/setup.sh
- name: "Build AutonomySim"
shell: bash
run: bash ./scripts/build.sh
- name: "Build AutonomySim ROS2 Wrapper"
# if: ${{ matrix.os == 'ubuntu-20.04' }}
shell: bash
run: bash ./scripts/build_ros2_ubuntu.sh