summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-07-11 15:58:06 (GMT)
committerGitHub <noreply@github.com>2022-07-11 15:58:06 (GMT)
commitf599e2ac7fb7fb146b49e2f349a9c100e897f7ef (patch)
treeb7fca2548a2ed2bc7f0b6f655b337624a760816e
parent460ee73a642db71872efa8e5c51dcf5aee554790 (diff)
downloadhdf5-f599e2ac7fb7fb146b49e2f349a9c100e897f7ef.zip
hdf5-f599e2ac7fb7fb146b49e2f349a9c100e897f7ef.tar.gz
hdf5-f599e2ac7fb7fb146b49e2f349a9c100e897f7ef.tar.bz2
Adds the mirror and direct VFDs to GitHub actions (#1871)
Both Autotools and CMake
-rw-r--r--.github/workflows/main.yml30
-rw-r--r--.github/workflows/pr-check.yml30
2 files changed, 54 insertions, 6 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 6fe8f0c..b062ce3 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -34,6 +34,8 @@ jobs:
ts: OFF
hl: ON
parallel: OFF
+ mirror_vfd: OFF
+ direct_vfd: OFF
generator: "-G \"Visual Studio 17 2022\" -A x64"
flags: ""
- name: "Ubuntu Latest GCC"
@@ -46,6 +48,8 @@ jobs:
ts: OFF
hl: ON
parallel: OFF
+ mirror_vfd: ON
+ direct_vfd: ON
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
flags: ""
@@ -59,6 +63,8 @@ jobs:
ts: OFF
hl: ON
parallel: OFF
+ mirror_vfd: ON
+ direct_vfd: OFF
toolchain: "config/toolchain/clang.cmake"
generator: "-G Ninja"
flags: ""
@@ -72,6 +78,8 @@ jobs:
ts: OFF
hl: ON
parallel: OFF
+ mirror_vfd: ON
+ direct_vfd: ON
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
flags: ""
@@ -85,6 +93,8 @@ jobs:
ts: disable
hl: enable
parallel: disable
+ mirror_vfd: enable
+ direct_vfd: enable
toolchain: ""
generator: "autogen"
flags: ""
@@ -98,6 +108,8 @@ jobs:
ts: disable
hl: enable
parallel: disable
+ mirror_vfd: enable
+ direct_vfd: enable
toolchain: ""
generator: "autogen"
flags: ""
@@ -106,12 +118,14 @@ jobs:
artifact: "LinuxA.tar.xz"
os: ubuntu-latest
build_type: "debug"
- cpp: disable
+ cpp: enable
fortran: disable
java: disable
ts: disable
hl: enable
parallel: disable
+ mirror_vfd: disable
+ direct_vfd: enable
toolchain: ""
generator: "autogen"
flags: "CFLAGS=-Werror"
@@ -127,6 +141,8 @@ jobs:
ts: ON
hl: OFF
parallel: OFF
+ mirror_vfd: OFF
+ direct_vfd: OFF
generator: "-G \"Visual Studio 16 2019\" -A x64"
flags: ""
- name: "Ubuntu TS GCC"
@@ -139,6 +155,8 @@ jobs:
ts: ON
hl: OFF
parallel: OFF
+ mirror_vfd: ON
+ direct_vfd: ON
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
flags: ""
@@ -152,6 +170,8 @@ jobs:
ts: ON
hl: OFF
parallel: OFF
+ mirror_vfd: ON
+ direct_vfd: OFF
toolchain: "config/toolchain/clang.cmake"
generator: "-G Ninja"
flags: ""
@@ -165,6 +185,8 @@ jobs:
ts: ON
hl: OFF
parallel: OFF
+ mirror_vfd: ON
+ direct_vfd: ON
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
flags: ""
@@ -178,6 +200,8 @@ jobs:
ts: enable
hl: disable
parallel: disable
+ mirror_vfd: enable
+ direct_vfd: enable
toolchain: ""
generator: "autogen"
flags: ""
@@ -222,7 +246,7 @@ jobs:
sh ./autogen.sh
mkdir "${{ runner.workspace }}/build"
cd "${{ runner.workspace }}/build"
- ${{ matrix.flags }} $GITHUB_WORKSPACE/configure --enable-build-mode=${{ matrix.build_type }} --enable-shared --${{ matrix.ts }}-threadsafe --${{ matrix.hl }}-hl --${{ matrix.parallel }}-parallel --${{ matrix.cpp }}-cxx --${{ matrix.fortran }}-fortran --${{ matrix.java }}-java
+ ${{ matrix.flags }} $GITHUB_WORKSPACE/configure --enable-build-mode=${{ matrix.build_type }} --enable-shared --${{ matrix.ts }}-threadsafe --${{ matrix.hl }}-hl --${{ matrix.parallel }}-parallel --${{ matrix.cpp }}-cxx --${{ matrix.fortran }}-fortran --${{ matrix.java }}-java --${{ matrix.mirror_vfd }}-mirror-vfd --${{ matrix.direct_vfd }}-direct-vfd
shell: bash
env:
CC: gcc-11
@@ -234,7 +258,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_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
+ 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 }} -DHDF5_ENABLE_MIRROR_VFD:BOOL={{ matrix.mirror_vfd }} -DHDF5_ENABLE_DIRECT_VFD:BOOL=${{ matrix.direct_vfd }} $GITHUB_WORKSPACE
shell: bash
- name: Autotools Build
diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml
index 6b409f9..c215eed 100644
--- a/.github/workflows/pr-check.yml
+++ b/.github/workflows/pr-check.yml
@@ -33,6 +33,8 @@ jobs:
ts: OFF
hl: ON
parallel: OFF
+ mirror_vfd: OFF
+ direct_vfd: OFF
generator: "-G \"Visual Studio 17 2022\" -A x64"
flags: ""
- name: "Ubuntu Latest GCC"
@@ -45,6 +47,8 @@ jobs:
ts: OFF
hl: ON
parallel: OFF
+ mirror_vfd: ON
+ direct_vfd: ON
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
flags: ""
@@ -58,6 +62,8 @@ jobs:
ts: OFF
hl: ON
parallel: OFF
+ mirror_vfd: ON
+ direct_vfd: OFF
toolchain: "config/toolchain/clang.cmake"
generator: "-G Ninja"
flags: ""
@@ -71,6 +77,8 @@ jobs:
ts: OFF
hl: ON
parallel: OFF
+ mirror_vfd: ON
+ direct_vfd: ON
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
flags: ""
@@ -84,6 +92,8 @@ jobs:
ts: disable
hl: enable
parallel: disable
+ mirror_vfd: enable
+ direct_vfd: enable
toolchain: ""
generator: "autogen"
flags: ""
@@ -97,6 +107,8 @@ jobs:
ts: disable
hl: enable
parallel: disable
+ mirror_vfd: enable
+ direct_vfd: enable
toolchain: ""
generator: "autogen"
flags: ""
@@ -105,12 +117,14 @@ jobs:
artifact: "LinuxDBG.tar.xz"
os: ubuntu-latest
build_type: "debug"
- cpp: disable
+ cpp: enable
fortran: disable
java: disable
ts: disable
hl: enable
parallel: disable
+ mirror_vfd: disable
+ direct_vfd: enable
toolchain: ""
generator: "autogen"
flags: "CFLAGS=-Werror"
@@ -126,6 +140,8 @@ jobs:
ts: ON
hl: OFF
parallel: OFF
+ mirror_vfd: OFF
+ direct_vfd: OFF
generator: "-G \"Visual Studio 16 2019\" -A x64"
flags: ""
- name: "Ubuntu TS GCC"
@@ -138,6 +154,8 @@ jobs:
ts: ON
hl: OFF
parallel: OFF
+ mirror_vfd: ON
+ direct_vfd: ON
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
flags: ""
@@ -151,6 +169,8 @@ jobs:
ts: ON
hl: OFF
parallel: OFF
+ mirror_vfd: ON
+ direct_vfd: OFF
toolchain: "config/toolchain/clang.cmake"
generator: "-G Ninja"
flags: ""
@@ -164,6 +184,8 @@ jobs:
ts: ON
hl: OFF
parallel: OFF
+ mirror_vfd: ON
+ direct_vfd: ON
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
flags: ""
@@ -177,6 +199,8 @@ jobs:
ts: enable
hl: disable
parallel: disable
+ mirror_vfd: enable
+ direct_vfd: enable
toolchain: ""
generator: "autogen"
flags: ""
@@ -221,7 +245,7 @@ jobs:
sh ./autogen.sh
mkdir "${{ runner.workspace }}/build"
cd "${{ runner.workspace }}/build"
- ${{ matrix.flags }} $GITHUB_WORKSPACE/configure --enable-build-mode=${{ matrix.build_type }} --enable-shared --${{ matrix.ts }}-threadsafe --${{ matrix.hl }}-hl --${{ matrix.parallel }}-parallel --${{ matrix.cpp }}-cxx --${{ matrix.fortran }}-fortran --${{ matrix.java }}-java
+ ${{ matrix.flags }} $GITHUB_WORKSPACE/configure --enable-build-mode=${{ matrix.build_type }} --enable-shared --${{ matrix.ts }}-threadsafe --${{ matrix.hl }}-hl --${{ matrix.parallel }}-parallel --${{ matrix.cpp }}-cxx --${{ matrix.fortran }}-fortran --${{ matrix.java }}-java --${{ matrix.mirror_vfd }}-mirror-vfd --${{ matrix.direct_vfd }}-direct-vfd
shell: bash
env:
CC: gcc-11
@@ -233,7 +257,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_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
+ 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 }} -DHDF5_ENABLE_MIRROR_VFD:BOOL={{ matrix.mirror_vfd }} -DHDF5_ENABLE_DIRECT_VFD:BOOL=${{ matrix.direct_vfd }} $GITHUB_WORKSPACE
shell: bash
- name: Autotools Build