Java replace switch on string (#273)
* OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit
This commit is contained in:
86
.github/workflows/main.yml
vendored
86
.github/workflows/main.yml
vendored
@@ -17,14 +17,19 @@ jobs:
|
||||
strategy:
|
||||
# fail-fast: false
|
||||
matrix:
|
||||
name: ["Windows Latest MSVC", "Ubuntu Latest GCC", "Ubuntu Debug GCC", "macOS Latest Clang", "Ubuntu Autotools GCC"]
|
||||
name: ["Windows Latest MSVC", "Ubuntu Latest GCC", "Ubuntu Debug GCC", "macOS Latest Clang", "Ubuntu Autotools GCC", "Windows TS MSVC", "Ubuntu TS GCC", "TS Debug GCC", "macOS TS Clang", "TS Autotools GCC"]
|
||||
include:
|
||||
- name: "Windows Latest MSVC"
|
||||
artifact: "Windows-MSVC.tar.xz"
|
||||
os: windows-latest
|
||||
build_type: "Release"
|
||||
toolchain: ""
|
||||
cpp: ON
|
||||
fortran: OFF
|
||||
java: ON
|
||||
ts: OFF
|
||||
hl: ON
|
||||
parallel: OFF
|
||||
generator: "-G \"Visual Studio 16 2019\" -A x64"
|
||||
- name: "Ubuntu Latest GCC"
|
||||
artifact: "Linux.tar.xz"
|
||||
@@ -32,6 +37,9 @@ jobs:
|
||||
build_type: "Release"
|
||||
cpp: ON
|
||||
fortran: OFF
|
||||
java: ON
|
||||
ts: OFF
|
||||
hl: ON
|
||||
parallel: OFF
|
||||
toolchain: "config/toolchain/GCC.cmake"
|
||||
generator: "-G Ninja"
|
||||
@@ -41,6 +49,9 @@ jobs:
|
||||
build_type: "Release"
|
||||
cpp: ON
|
||||
fortran: OFF
|
||||
java: ON
|
||||
ts: OFF
|
||||
hl: ON
|
||||
parallel: OFF
|
||||
toolchain: "config/toolchain/clang.cmake"
|
||||
generator: "-G Ninja"
|
||||
@@ -50,15 +61,82 @@ jobs:
|
||||
build_type: "Debug"
|
||||
cpp: ON
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: OFF
|
||||
hl: ON
|
||||
parallel: OFF
|
||||
toolchain: "config/toolchain/GCC.cmake"
|
||||
generator: "-G Ninja"
|
||||
- name: "Ubuntu Autotools GCC"
|
||||
artifact: "Linux.tar.xz"
|
||||
artifact: "LinuxA.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "Release"
|
||||
cpp: enable
|
||||
fortran: enable
|
||||
java: enable
|
||||
ts: disable
|
||||
hl: enable
|
||||
parallel: disable
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
# Threadsafe runs
|
||||
- name: "Windows TS MSVC"
|
||||
artifact: "Windows-MSVCTS.tar.xz"
|
||||
os: windows-latest
|
||||
build_type: "Release"
|
||||
toolchain: ""
|
||||
cpp: OFF
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: ON
|
||||
hl: OFF
|
||||
parallel: OFF
|
||||
generator: "-G \"Visual Studio 16 2019\" -A x64"
|
||||
- name: "Ubuntu TS GCC"
|
||||
artifact: "LinuxTS.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "Release"
|
||||
cpp: OFF
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: ON
|
||||
hl: OFF
|
||||
parallel: OFF
|
||||
toolchain: "config/toolchain/GCC.cmake"
|
||||
generator: "-G Ninja"
|
||||
- name: "macOS TS Clang"
|
||||
artifact: "macOSTS.tar.xz"
|
||||
os: macos-latest
|
||||
build_type: "Release"
|
||||
cpp: OFF
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: ON
|
||||
hl: OFF
|
||||
parallel: OFF
|
||||
toolchain: "config/toolchain/clang.cmake"
|
||||
generator: "-G Ninja"
|
||||
- name: "TS Debug GCC"
|
||||
artifact: "LinuxTSDBG.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "Debug"
|
||||
cpp: OFF
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: ON
|
||||
hl: OFF
|
||||
parallel: OFF
|
||||
toolchain: "config/toolchain/GCC.cmake"
|
||||
generator: "-G Ninja"
|
||||
- name: "TS Autotools GCC"
|
||||
artifact: "LinuxATS.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "Release"
|
||||
cpp: disable
|
||||
fortran: disable
|
||||
java: disable
|
||||
ts: enable
|
||||
hl: disable
|
||||
parallel: disable
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
@@ -109,7 +187,7 @@ jobs:
|
||||
sh ./bin/chkmanifest
|
||||
mkdir "${{ runner.workspace }}/build"
|
||||
cd "${{ runner.workspace }}/build"
|
||||
$GITHUB_WORKSPACE/configure --enable-shared --${{ matrix.parallel }}-parallel --${{ matrix.cpp }}-cxx --${{ matrix.fortran }}-fortran --enable-java
|
||||
$GITHUB_WORKSPACE/configure --enable-shared --${{ matrix.ts }}-threadsafe --${{ matrix.hl }}-hl --${{ matrix.parallel }}-parallel --${{ matrix.cpp }}-cxx --${{ matrix.fortran }}-fortran --${{ matrix.java }}-java
|
||||
shell: bash
|
||||
|
||||
- name: Configure
|
||||
@@ -117,7 +195,7 @@ jobs:
|
||||
run: |
|
||||
mkdir "${{ runner.workspace }}/build"
|
||||
cd "${{ runner.workspace }}/build"
|
||||
cmake ${{ matrix.generator }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_TOOLCHAIN_FILE=${{ matrix.toolchain }} -DBUILD_SHARED_LIBS=ON -DHDF5_ENABLE_ALL_WARNINGS=ON -DHDF5_ENABLE_PARALLEL:BOOL=${{ matrix.parallel }} -DHDF5_BUILD_CPP_LIB:BOOL=${{ matrix.cpp }} -DHDF5_BUILD_FORTRAN=${{ matrix.fortran }} -DHDF5_BUILD_JAVA=ON $GITHUB_WORKSPACE
|
||||
cmake ${{ matrix.generator }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_TOOLCHAIN_FILE=${{ matrix.toolchain }} -DBUILD_SHARED_LIBS=ON -DHDF5_ENABLE_ALL_WARNINGS=ON -DHDF5_ENABLE_THREADSAFE:BOOL=${{ matrix.ts }} -DHDF5_BUILD_HL_LIB:BOOL=${{ matrix.hl }} -DHDF5_ENABLE_PARALLEL:BOOL=${{ matrix.parallel }} -DHDF5_BUILD_CPP_LIB:BOOL=${{ matrix.cpp }} -DHDF5_BUILD_FORTRAN=${{ matrix.fortran }} -DHDF5_BUILD_JAVA=${{ matrix.java }} $GITHUB_WORKSPACE
|
||||
shell: bash
|
||||
|
||||
- name: Autotools Build
|
||||
|
||||
Reference in New Issue
Block a user