mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-11 16:01:00 +08:00
Update macos workflow to 14 (keep 13 as alternate) (#4603)
This commit is contained in:
parent
0c4041f846
commit
6f503d33f1
2
.github/workflows/cmake-bintest.yml
vendored
2
.github/workflows/cmake-bintest.yml
vendored
@ -147,7 +147,7 @@ jobs:
|
|||||||
# MacOS w/ Clang + CMake
|
# MacOS w/ Clang + CMake
|
||||||
#
|
#
|
||||||
name: "MacOS Clang Binary Test"
|
name: "MacOS Clang Binary Test"
|
||||||
runs-on: macos-13
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install Dependencies (MacOS)
|
- name: Install Dependencies (MacOS)
|
||||||
run: brew install ninja doxygen
|
run: brew install ninja doxygen
|
||||||
|
40
.github/workflows/main-cmake.yml
vendored
40
.github/workflows/main-cmake.yml
vendored
@ -33,6 +33,7 @@ jobs:
|
|||||||
name:
|
name:
|
||||||
- "Windows MSVC"
|
- "Windows MSVC"
|
||||||
- "Ubuntu gcc"
|
- "Ubuntu gcc"
|
||||||
|
- "MacOS-13 Clang"
|
||||||
- "MacOS Clang"
|
- "MacOS Clang"
|
||||||
|
|
||||||
# This is where we list the bulk of the options for each configuration.
|
# This is where we list the bulk of the options for each configuration.
|
||||||
@ -82,15 +83,35 @@ jobs:
|
|||||||
generator: "-G Ninja"
|
generator: "-G Ninja"
|
||||||
run_tests: true
|
run_tests: true
|
||||||
|
|
||||||
|
# MacOS w/ Clang + CMake
|
||||||
|
#
|
||||||
|
# We could also build with the Autotools via brew installing them,
|
||||||
|
# but that seems unnecessary
|
||||||
|
- name: "MacOS-13 Clang"
|
||||||
|
os: macos-13
|
||||||
|
cpp: OFF
|
||||||
|
fortran: ON
|
||||||
|
java: ON
|
||||||
|
docs: ON
|
||||||
|
libaecfc: ON
|
||||||
|
localaec: OFF
|
||||||
|
zlibfc: ON
|
||||||
|
localzlib: OFF
|
||||||
|
parallel: OFF
|
||||||
|
mirror_vfd: ON
|
||||||
|
direct_vfd: OFF
|
||||||
|
ros3_vfd: OFF
|
||||||
|
generator: "-G Ninja"
|
||||||
|
run_tests: true
|
||||||
|
|
||||||
# MacOS w/ Clang + CMake
|
# MacOS w/ Clang + CMake
|
||||||
#
|
#
|
||||||
# We could also build with the Autotools via brew installing them,
|
# We could also build with the Autotools via brew installing them,
|
||||||
# but that seems unnecessary
|
# but that seems unnecessary
|
||||||
- name: "MacOS Clang"
|
- name: "MacOS Clang"
|
||||||
os: macos-13
|
os: macos-latest
|
||||||
cpp: ON
|
cpp: OFF
|
||||||
fortran: OFF
|
fortran: ON
|
||||||
java: ON
|
java: ON
|
||||||
docs: ON
|
docs: ON
|
||||||
libaecfc: ON
|
libaecfc: ON
|
||||||
@ -134,7 +155,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Dependencies (macOS)
|
- name: Install Dependencies (macOS)
|
||||||
run: brew install ninja
|
run: brew install ninja
|
||||||
if: matrix.os == 'macos-13'
|
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-latest' }}
|
||||||
|
|
||||||
|
# symlinks the compiler executables to a common location
|
||||||
|
- name: Install GNU Fortran (macOS)
|
||||||
|
uses: fortran-lang/setup-fortran@v1
|
||||||
|
id: setup-fortran
|
||||||
|
with:
|
||||||
|
compiler: gcc
|
||||||
|
version: 12
|
||||||
|
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-latest' }}
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
uses: ssciwr/doxygen-install@v1
|
uses: ssciwr/doxygen-install@v1
|
||||||
@ -261,4 +291,4 @@ jobs:
|
|||||||
name: tgz-osx-${{ inputs.build_mode }}-binary
|
name: tgz-osx-${{ inputs.build_mode }}-binary
|
||||||
path: ${{ runner.workspace }}/build/HDF5-*-Darwin.tar.gz
|
path: ${{ runner.workspace }}/build/HDF5-*-Darwin.tar.gz
|
||||||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
||||||
if: ${{ (matrix.os == 'macos-13') && (inputs.thread_safety != 'TS') }}
|
if: ${{ (matrix.os == 'macos-latest') && (inputs.thread_safety != 'TS') }}
|
||||||
|
Loading…
Reference in New Issue
Block a user