()
| 81 | # Returns true if we are running in GitHub actions |
| 82 | # https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables |
| 83 | def IsGHA(): |
| 84 | if 'GITHUB_ACTION' in os.environ: |
| 85 | return True |
| 86 | return False |
| 87 | |
| 88 | # Points to the directory containing the top level CMakeLists.txt |
| 89 | PROJECT_SRC_DIR = os.path.abspath(os.path.join(os.path.split(os.path.abspath(__file__))[0], '..')) |