Skip to content

Commit f9116eb

Browse files
authored
macos-12 github action deprecated (#933)
1 parent c3f0fc3 commit f9116eb

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.github/workflows/cmake_macos.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: CMake MacOS
22

3+
# if issues with libquadmath appear again, see previous version:
4+
# https://github.com/PHAREHUB/PHARE/blob/61ad57b285e875b396ecf8957e0579427ad6be30/.github/workflows/cmake_macos.yml
5+
36
concurrency:
47
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
58
cancel-in-progress: true
@@ -14,15 +17,7 @@ jobs:
1417
strategy:
1518
fail-fast: false
1619
matrix:
17-
os: [ macos-12, macos-13, macos-latest]
18-
include:
19-
- os: macos-12
20-
dylib_path: /usr/local/lib/gcc/current
21-
- os: macos-13
22-
dylib_path: /usr/local/lib/gcc/current
23-
- os: macos-latest # https://github.com/actions/runner/issues/3337
24-
dylib_path: /opt/homebrew/Cellar/gcc/14.2.0/lib/gcc/current
25-
20+
os: [ macos-13, macos-14, macos-latest]
2621

2722
steps:
2823
- name: Build Info
@@ -78,11 +73,7 @@ jobs:
7873

7974
- name: Configure CMake
8075
working-directory: ${{runner.workspace}}/build
81-
env:
82-
LIBRARY_PATH: ${{ matrix.dylib_path }} # used by clang, needed to find libquadmath - else link error
8376
run: |
84-
[ -d /opt/homebrew/Cellar/gcc ] && ls -l /opt/homebrew/Cellar/gcc
85-
[ ! -d "${{matrix.dylib_path}}" ] && echo dylib_path not found && find / -name "libquadmath.0.dylib" && exit 1
8677
cmake $GITHUB_WORKSPACE -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
8778
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
8879
-DENABLE_SAMRAI_TESTS=OFF -DCMAKE_C_COMPILER_LAUNCHER=ccache \
@@ -91,8 +82,6 @@ jobs:
9182
9283
- name: Build
9384
working-directory: ${{runner.workspace}}/build
94-
env:
95-
LIBRARY_PATH: ${{ matrix.dylib_path }} # used by clang, needed to find libquadmath - else link error
9685
run: cmake --build . -j 2
9786

9887
- name: Test

0 commit comments

Comments
 (0)