added missing option #401
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
#---------------------------------------------------------------------------------------- | |
# 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 [email protected] && brew link --overwrite [email protected] | |
# brew unlink [email protected] && brew link --overwrite [email protected] | |
# brew unlink [email protected] && brew link --overwrite [email protected] | |
# 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 |