Skip to content

Commit

Permalink
Merge pull request #557 from robotology/remove-homebrew-macos-based-ci
Browse files Browse the repository at this point in the history
Remove Homebrew macOS-based CI
  • Loading branch information
traversaro authored Jun 28, 2021
2 parents 0d18d2e + 2d1ffba commit 90df156
Showing 1 changed file with 7 additions and 24 deletions.
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

0 comments on commit 90df156

Please sign in to comment.