Converts the YAML build mode arrays to objects in special runs (#2308)

* 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.
This commit is contained in:
Dana Robinson 2022-12-15 23:03:02 -08:00 committed by GitHub
parent 138daa8846
commit 4bbda3038a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'