@@ -112,7 +112,9 @@ jobs:
112112 apt-get install -qq -y dpkg # necessary for catkin-pkg to be installable
113113 echo "Testing branch $GITHUB_REF of $GITHUB_REPOSITORY"
114114 sh -c 'echo "deb http://packages.ros.org/ros-shadow-fixed/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/ros-latest.list'
115- wget http://packages.ros.org/ros.key -O - | apt-key add -
115+ # Replace the old apt-key add with the new method for adding the key
116+ # https://github.com/ros/rosdistro/pull/46048
117+ curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add -
116118 apt-get update -qq
117119 apt-get install -qq -y python-catkin-tools python-rosdep
118120 apt-get install -qq -y build-essential git ros-melodic-rosbash ros-melodic-rospack
@@ -186,7 +188,18 @@ jobs:
186188
187189
188190 osx :
189- runs-on : macos-13 # https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
191+ strategy :
192+ matrix :
193+ include :
194+ # https://github.com/actions/runner-images/tree/main/images/macos
195+ # Note: To test macOS-x with Intel architecture,
196+ # you need to use the paid macOS-x-large runner, as macOS-x is grouped with ARM-based runners.
197+ # https://docs.github.com/en/actions/concepts/runners/about-larger-runners
198+ - runs-on : macos-13 # Intel (x64)
199+ - runs-on : macos-14 # ARM64 (Apple Silicon)
200+ - runs-on : macos-15 # ARM64 (Apple Silicon)
201+ fail-fast : false
202+ runs-on : ${{ matrix.runs-on }}
190203 timeout-minutes : 60
191204 steps :
192205 - name : Checkout
@@ -195,7 +208,7 @@ jobs:
195208 id : brew-cache
196209 run : echo "::set-output name=dir::$(brew --cache)/downloads"
197210 - name : Brew cache
198- uses : actions/cache@v2
211+ uses : actions/cache@v4
199212 with :
200213 path : ${{ steps.brew-cache.outputs.dir }}
201214 key : ${{ runner.os }}-${{ hashFiles('.github/workflows/Brewfile') }}
@@ -217,6 +230,10 @@ jobs:
217230 export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
218231 # since macos-11, we need to install GL/gl.h
219232 HOMEBREW_NO_AUTO_UPDATE=1 brew install mesa-glu
233+ # since macos-14, we need to install GL/gl.h for mesalib-glw and X11 for xquartz
234+ HOMEBREW_NO_AUTO_UPDATE=1 brew install mesalib-glw xquartz
235+ # since macos-13, we need to install jpeg
236+ HOMEBREW_NO_AUTO_UPDATE=1 brew install jpeg
220237 ./.travis-osx.sh
221238 - name : Cleanup some brew downloads
222239 run : cd ${{ steps.brew-cache.outputs.dir }} && ls -lsS | head -n 10 | awk '{ print $10 }' | xargs rm -rf
0 commit comments