Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes changes to the
.github/workflows/fuzzing.yml
file, which is part of the GitHub Actions workflow. The changes primarily focus on replacing the use of environment variables with a matrix strategy for the job configurations. This allows for more flexibility in defining and managing the job configurations.Here are the most important changes:
Replaced the
env:
block with astrategy:
block that uses a matrix to defineplatform
andarch
parameters. This change allows for more flexibility in defining and managing the job configurations.Updated the
runs-on:
field to use thematrix.platform
value instead of theenv.platform
value. This change is in line with the switch to a matrix strategy.Updated the
run:
field in the "Generate the cache key" step to use thematrix.platform
andmatrix.arch
values instead of theenv.platform
andenv.arch
values. This change ensures that the cache key is generated correctly based on the matrix values.Updated the
if:
conditions in various steps to use thematrix.platform
value instead of theenv.platform
value. This change ensures that the correct steps are executed based on the platform defined in the matrix. [1] [2]Removed the
scan_build
environment variable and the corresponding conditional logic. This simplifies the workflow as thescan_build
variable was not being used elsewhere.Changed the
DCMAKE_BUILD_TYPE
value from a variable (env.build_type
) to a fixed string ("Debug"). This change simplifies the workflow and ensures that the build type is always "Debug" for this job.