summaryrefslogtreecommitdiffstats
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-12-16 08:37:36 (GMT)
committerGitHub <noreply@github.com>2022-12-16 08:37:36 (GMT)
commit8f344f7b970e24c3bfed7e7cf9003be5e78aaa29 (patch)
tree184621ff09e51fa80bf498235d6d6b377f8791a5 /.github/workflows/main.yml
parent3aaba7378b45f5551476be603fe9f100b487150b (diff)
downloadhdf5-8f344f7b970e24c3bfed7e7cf9003be5e78aaa29.zip
hdf5-8f344f7b970e24c3bfed7e7cf9003be5e78aaa29.tar.gz
hdf5-8f344f7b970e24c3bfed7e7cf9003be5e78aaa29.tar.bz2
Converts the YAML build mode arrays to objects in special runs (#2308) (#2309)
* Converts the YAML build mode arrays to objects in special runs * Adds a dump of the matrix context for each test This would have made it a LOT easier to debug the build_mode issues... * Disable the mirror VFD in the -Werror checks We can re-enable this after we fix the warnings, but I don't want to conflate code and GitHub changes, so this is a better way to get the CI to pass for now.
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r--.github/workflows/main.yml78
1 files changed, 41 insertions, 37 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 08807c3..556fb13 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -174,12 +174,12 @@ jobs:
flags: ""
run_tests: false
thread_safety:
- - enabled: false
- text: ""
+ enabled: false
+ text: ""
build_mode:
- - text: " DBG"
- cmake: "Debug"
- autotools: "debug"
+ text: " DBG"
+ cmake: "Debug"
+ autotools: "debug"
- name: "Ubuntu gcc Autotools v1.8 default API (build only)"
os: ubuntu-latest
@@ -196,12 +196,12 @@ jobs:
flags: ""
run_tests: false
thread_safety:
- - enabled: false
- text: ""
+ enabled: false
+ text: ""
build_mode:
- - text: " DBG"
- cmake: "Debug"
- autotools: "debug"
+ text: " DBG"
+ cmake: "Debug"
+ autotools: "debug"
- name: "Ubuntu gcc Autotools v1.10 default API (build only)"
os: ubuntu-latest
@@ -218,12 +218,12 @@ jobs:
flags: ""
run_tests: false
thread_safety:
- - enabled: false
- text: ""
+ enabled: false
+ text: ""
build_mode:
- - text: " DBG"
- cmake: "Debug"
- autotools: "debug"
+ text: " DBG"
+ cmake: "Debug"
+ autotools: "debug"
- name: "Ubuntu gcc Autotools v1.12 default API (build only)"
os: ubuntu-latest
@@ -240,12 +240,12 @@ jobs:
flags: ""
run_tests: false
thread_safety:
- - enabled: false
- text: ""
+ enabled: false
+ text: ""
build_mode:
- - text: " DBG"
- cmake: "Debug"
- autotools: "debug"
+ text: " DBG"
+ cmake: "Debug"
+ autotools: "debug"
- name: "Ubuntu gcc Autotools no deprecated symbols (build only)"
os: ubuntu-latest
@@ -262,12 +262,12 @@ jobs:
flags: ""
run_tests: false
thread_safety:
- - enabled: false
- text: ""
+ enabled: false
+ text: ""
build_mode:
- - text: " DBG"
- cmake: "Debug"
- autotools: "debug"
+ text: " DBG"
+ cmake: "Debug"
+ autotools: "debug"
- name: "Ubuntu gcc Autotools -Werror (build only) DBG"
os: ubuntu-latest
@@ -275,7 +275,7 @@ jobs:
fortran: disable
java: disable
parallel: disable
- mirror_vfd: enable
+ mirror_vfd: disable
direct_vfd: enable
deprec_sym: enable
default_api: v114
@@ -284,12 +284,12 @@ jobs:
flags: "CFLAGS=-Werror"
run_tests: false
thread_safety:
- - enabled: false
- text: ""
+ enabled: false
+ text: ""
build_mode:
- - text: " DBG"
- cmake: "Debug"
- autotools: "debug"
+ text: " DBG"
+ cmake: "Debug"
+ autotools: "debug"
- name: "Ubuntu gcc Autotools -Werror (build only) REL"
os: ubuntu-latest
@@ -297,7 +297,7 @@ jobs:
fortran: disable
java: disable
parallel: disable
- mirror_vfd: enable
+ mirror_vfd: disable
direct_vfd: enable
deprec_sym: enable
default_api: v114
@@ -306,12 +306,12 @@ jobs:
flags: "CFLAGS=-Werror"
run_tests: false
thread_safety:
- - enabled: false
- text: ""
+ enabled: false
+ text: ""
build_mode:
- - text: " REL"
- cmake: "Release"
- autotools: "production"
+ text: " REL"
+ cmake: "Release"
+ autotools: "production"
# Sets the job's name from the properties
name: "${{ matrix.name }}${{ matrix.build_mode.text }}${{ matrix.thread_safety.text }}"
@@ -329,6 +329,10 @@ jobs:
# SETUP
#
+ #Useful for debugging
+ - name: Dump matrix context
+ run: echo '${{ toJSON(matrix) }}'
+
- name: Install CMake Dependencies (Linux)
run: sudo apt-get install ninja-build
if: matrix.os == 'ubuntu-latest'