Skip to content

Commit

Permalink
240501.215410.HKT remove the env variables in the matrix of cmake.yml…
Browse files Browse the repository at this point in the history
…, as they are not supported as of today
  • Loading branch information
zaikunzhang committed May 1, 2024
1 parent ca1145b commit a8c953e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ permissions:

jobs:

# N.B.: It is tempting to use environment variables to define the compiler flags to avoid
# repeating them, but this is not supported as of 20240501. See
# https://stackoverflow.com/questions/74072206/github-actions-use-variables-in-matrix-definition
cmake-main:
runs-on: ${{ matrix.os }}
continue-on-error: true
Expand Down Expand Up @@ -148,7 +151,7 @@ jobs:
cmake --version
VERBOSE_MAKEFILE=OFF
if [[ ${{ github.event.inputs.verbose-makefile }} == 'true' ]] ; then
if [[ "${{ github.event.inputs.verbose-makefile }}" == "true" ]] ; then
VERBOSE_MAKEFILE=ON
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
cmake --version
VERBOSE_MAKEFILE=OFF
if [[ ${{ github.event.inputs.verbose-makefile }} == 'true' ]] ; then
if [[ "${{ github.event.inputs.verbose-makefile }}" == "true" ]] ; then
VERBOSE_MAKEFILE=ON
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake_mac_nagfor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
cmake --version
VERBOSE_MAKEFILE=OFF
if [[ ${{ github.event.inputs.verbose-makefile }} == 'true' ]] ; then
if [[ "${{ github.event.inputs.verbose-makefile }}" == "true" ]] ; then
VERBOSE_MAKEFILE=ON
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake_nagfor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
cmake --version
VERBOSE_MAKEFILE=OFF
if [[ ${{ github.event.inputs.verbose-makefile }} == 'true' ]] ; then
if [[ "${{ github.event.inputs.verbose-makefile }}" == "true" ]] ; then
VERBOSE_MAKEFILE=ON
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake_pi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
cmake --version
VERBOSE_MAKEFILE=OFF
if [[ ${{ github.event.inputs.verbose-makefile }} == 'true' ]] ; then
if [[ "${{ github.event.inputs.verbose-makefile }}" == "true" ]] ; then
VERBOSE_MAKEFILE=ON
fi
Expand Down

0 comments on commit a8c953e

Please sign in to comment.