diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-11-05 21:34:10 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-11-05 21:39:06 +0100 |
commit | 3d4d0b36fca6c8e572b59a3e866f56a6061b62f2 (patch) | |
tree | d66921d86983b43a179b21111f0ccdacf502fa6f /.github | |
parent | common.cmake: downgrade C++ standard version (diff) | |
download | cmake-common-3d4d0b36fca6c8e572b59a3e866f56a6061b62f2.tar.gz cmake-common-3d4d0b36fca6c8e572b59a3e866f56a6061b62f2.zip |
actions/software-environment: print objdump path
Diffstat (limited to '.github')
-rw-r--r-- | .github/actions/software-environment/action.yml | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/.github/actions/software-environment/action.yml b/.github/actions/software-environment/action.yml index c8a416b..872449d 100644 --- a/.github/actions/software-environment/action.yml +++ b/.github/actions/software-environment/action.yml @@ -27,7 +27,7 @@ runs: param( [Parameter(Mandatory=$true)] [string] $name, - [Parameter(Mandatory=$true)] + [Parameter()] [string] $exe ) @@ -35,6 +35,11 @@ runs: echo '------------------------------------------------------------' echo $name echo '------------------------------------------------------------' + + if (!$exe) { + $exe = $name + } + $full_path = Get-Command $exe -ErrorAction SilentlyContinue if ($full_path) { $full_path = $full_path.Path @@ -52,12 +57,13 @@ runs: } Print-Info 'python' $python - Print-Info 'cmake' 'cmake' - Print-Info 'make' 'make' - Print-Info 'mingw32-make' 'mingw32-make' - Print-Info 'g++' 'g++' - Print-Info 'clang++' 'clang++' - Print-Info 'clang-cl' 'clang-cl' - Print-Info 'i686-w64-mingw32-g++' 'i686-w64-mingw32-g++' - Print-Info 'x86_64-w64-mingw32-g++' 'x86_64-w64-mingw32-g++' + Print-Info 'cmake' + Print-Info 'make' + Print-Info 'mingw32-make' + Print-Info 'g++' + Print-Info 'clang++' + Print-Info 'clang-cl' + Print-Info 'i686-w64-mingw32-g++' + Print-Info 'x86_64-w64-mingw32-g++' + Print-Info 'objdump' shell: pwsh |