Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Homebrew macOS-based CI #557

Merged
merged 1 commit into from
Jun 28, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 7 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
build_type: [Release, Debug]
os: [ubuntu-18.04, ubuntu-20.04, macOS-latest]
os: [ubuntu-18.04, ubuntu-20.04]
yarp_version: [yarp-3.4]
# Dummy value to specify additional combination in the include matrix, see
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-new-combinations
Expand All @@ -32,8 +32,6 @@ jobs:
build_type: Release
- os: ubuntu-20.04
gazebo_version: gazebo11
- os: macOS-latest
gazebo_version: gazebo11
steps:
- uses: actions/checkout@v2

Expand All @@ -45,21 +43,6 @@ jobs:
# ============
# DEPENDENCIES
# ============

- name: Dependencies [macOS]
if: matrix.os == 'macOS-latest'
shell: bash
run: |
# https://github.com/actions/virtual-environments/issues/2322
rm -f /usr/local/bin/2to3
# https://github.com/actions/virtual-environments/issues/2391
brew unlink gcc@8
brew unlink gcc@9
brew update
brew upgrade
brew install --cask xquartz
brew install ace eigen opencv@3 osrf/simulation/${{ matrix.gazebo_version }}
- name: Dependencies [Ubuntu]
if: contains(matrix.os, 'ubuntu')
shell: bash
Expand All @@ -70,8 +53,8 @@ jobs:
sudo apt-get install git build-essential cmake libace-dev libeigen3-dev libopencv-dev
sudo apt-get install lib${{ matrix.gazebo_version }}-dev
- name: Source-based Dependencies [Ubuntu/macOS]
if: contains(matrix.os, 'ubuntu') || matrix.os == 'macOS-latest'
- name: Source-based Dependencies [Ubuntu]
if: contains(matrix.os, 'ubuntu')
shell: bash
run: |
# YCM
Expand All @@ -96,8 +79,8 @@ jobs:
# CMAKE-BASED PROJECT
# ===================

- name: Configure [Ubuntu/macOS]
if: contains(matrix.os, 'ubuntu') || matrix.os == 'macOS-latest'
- name: Configure [Ubuntu]
if: contains(matrix.os, 'ubuntu')
shell: bash
run: |
mkdir -p build
Expand All @@ -120,8 +103,8 @@ jobs:
# Workaround for https://github.com/robotology/gazebo-yarp-plugins/issues/536
ctest --output-on-failure -C ${{ matrix.build_type }} -E "ControlBoardControlTest" .
- name: Install [Ubuntu/macOS]
if: contains(matrix.os, 'ubuntu') || matrix.os == 'macOS-latest'
- name: Install [Ubuntu]
if: contains(matrix.os, 'ubuntu')
shell: bash
run: |
cd build
Expand Down