Skip to content

Commit

Permalink
show github context
Browse files Browse the repository at this point in the history
  • Loading branch information
st-pasha committed Nov 16, 2023
1 parent 399609d commit b950b2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
DT_BUILD_SUFFIX: ''
DT_RELEASE: ''
DT_MSVC_PATH: C:\Program Files\Microsoft Visual Studio\2022\Enterprise
GITHUB_CONTEXT: ${{ toJson(github) }}

steps:
- name: Checkout code
Expand Down Expand Up @@ -52,6 +53,7 @@ jobs:
echo "GITHUB_EVENT_NUMBER = $env:GITHUB_EVENT_NUMBER"
echo "GITHUB_REF = $env:GITHUB_REF"
echo "GITHUB_PULL_REQUEST_HEAD_REPO_BRANCH = $env:GITHUB_PULL_REQUEST_HEAD_REPO_BRANCH"
echo "GITHUB_CONTEXT = $env:GITHUB_CONTEXT"
echo "DT_HARNESS = $env:DT_HARNESS"
echo "DT_BUILD_ID = $env:DT_BUILD_ID"
echo "DT_RELEASE = $env:DT_RELEASE"
Expand Down
4 changes: 3 additions & 1 deletion ci/xbuild/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,11 @@ def _detect_compiler_executable(self):

def print_path(path: pathlib.Path, indent: str):
for p in path.iterdir():
self.log.info(p.name + '/'*p.is_dir(), indent=indent)
if p.is_dir():
self.log.info(p.name + '/', indent=indent)
print_path(p, indent + " ")
elif p.suffix.endswith('exe'):
self.log.info(p.name, indent=indent)

self.log.info(f"MSVC_path = {msvc_path}:")
print_path(pathlib.Path(msvc_path), indent = " ")
Expand Down

0 comments on commit b950b2b

Please sign in to comment.