-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set default environment variables in the CI
- If a required environment variable is not set via job description, set a default value to get a well defined state. - Implement only basic mechanism to set default environment variables, because I expect problems for some variables, which requires extra bug fixes. - Set CMAKE_CXX_EXTENSIONS=ON (default of CMake if not set) - Print environment variables also in GitHub Actions jobs.
- Loading branch information
1 parent
d3195fb
commit 5910e32
Showing
4 changed files
with
73 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#/usr/bin/env bash | ||
|
||
# set default values for unset environment variables | ||
|
||
export CMAKE_CXX_EXTENSIONS=${CMAKE_CXX_EXTENSIONS:="ON"} |