-
Notifications
You must be signed in to change notification settings - Fork 2
69 lines (61 loc) · 1.84 KB
/
test_macos.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
#----------------------------------------------------------------------------------------
# FILENAME:
# test_macos.yml
# DESCRIPTION:
# GitHub Actions configuration for macOS.
# AUTHOR:
# Adam Erickson (Nervosys)
# DATE:
# 2024-02-20
# NOTES:
# - Homebrew is installed by default.
#
# Copyright © 2024 Nervosys, LLC
#----------------------------------------------------------------------------------------
name: "Build: macOS"
on:
push:
branches:
- master
pull_request:
branches:
- master
types: [opened, synchronize, reopened, closed]
# workflow_dispatch:
jobs:
build-macos:
runs-on: ${{ matrix.os }} # macos-latest
strategy:
matrix:
os: [macos-11, macos-12, macos-13, macos-14] # versions: [11: Big Sur, 12: Monterey, 13: Ventura, 14: Sonoma]
# arch:
# - amd64
# - arm64
steps:
- uses: actions/checkout@v4
# Setup specific XCode version
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
# - name: "Update Homebrew and Install Azure CLI"
# shell: bash
# run: |
# brew unlink python@3.12 && brew link --overwrite python@3.12
# brew unlink python@3.11 && brew link --overwrite python@3.11
# brew unlink python@3.10 && brew link --overwrite python@3.10
# brew update && brew upgrade
# brew install azure-cli
- name: "Install AutonomySim Dependencies"
#env:
# GITHUB_ACTIONS_RUNNER_DEBUG: true
shell: bash
run: bash ./scripts/setup.sh
- name: "Build AutonomySim"
#env:
# GITHUB_ACTIONS_RUNNER_DEBUG: true
shell: bash
run: bash ./scripts/build.sh
# - name: "Build AutonomySim ROS2 Wrapper"
# shell: bash
# run: bash ./scripts/build_ros2_macos.sh