Skip to content

Commit f83530c

Browse files
committed
remove dependency printing on win 😠
1 parent 9eff07e commit f83530c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

‎.github/workflows/release.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@ jobs:
1717
os: macos-latest
1818
os-cmake-args: '-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang'
1919
build-args: '-j$(sysctl -n hw.ncpu)'
20-
dep-tool: 'otool -L'
2120
bindir: '/build/bin'
2221
arch: amd64
2322
- name: windows
2423
os: windows-latest
2524
os-cmake-args: '-DCMAKE_CXX_FLAGS="/MP /std:c++14" -DLLVM_USE_CRT_MINSIZEREL="MT"'
2625
build-args: '--config MinSizeRel'
27-
dep-tool: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\dumpbin.exe"'
2826
bindir: '/build/MinSizeRel/bin'
2927
extra-tar-args: '--exclude=${RELEASE}/clang/test/Driver/Inputs/* --exclude=${RELEASE}/libcxx/test/std/input.output/filesystems/Inputs/static_test_env/* --exclude=${RELEASE}/libclc/amdgcn-mesa3d'
3028
arch: 386
@@ -33,7 +31,6 @@ jobs:
3331
os: windows-latest
3432
os-cmake-args: '-Thost=x64 -DCMAKE_CXX_FLAGS="/MP /std:c++14" -DLLVM_USE_CRT_MINSIZEREL="MT"'
3533
build-args: '--config MinSizeRel'
36-
dep-tool: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\dumpbin.exe"'
3734
bindir: '/build/MinSizeRel/bin'
3835
arch: amd64
3936
extra-tar-args: '--exclude=${RELEASE}/clang/test/Driver/Inputs/* --exclude=${RELEASE}/libcxx/test/std/input.output/filesystems/Inputs/static_test_env/* --exclude=${RELEASE}/libclc/amdgcn-mesa3d'
@@ -60,10 +57,11 @@ jobs:
6057
- name: build
6158
run: cmake --build ${{ env.RELEASE }}/build ${{ matrix.config.build-args }} --target clang-format clangd
6259

63-
- name: print dependencies
60+
- name: print macos dependencies
6461
run: |
65-
${{ matrix.config.dep-tool }} ${{ env.RELEASE }}${{ matrix.config.bindir }}/clangd${{ matrix.config.extension }}
66-
${{ matrix.config.dep-tool }} ${{ env.RELEASE }}${{ matrix.config.bindir }}/clang-format${{ matrix.config.extension }}
62+
otool -L ${{ env.RELEASE }}${{ matrix.config.bindir }}/clangd
63+
otool -L ${{ env.RELEASE }}${{ matrix.config.bindir }}/clang-format
64+
if: matrix.config.os == 'macos-latest'
6765

6866

6967
- name: upload artifacts

0 commit comments

Comments
 (0)