Skip to content

Commit

Permalink
remove dependency printing on win 😠
Browse files Browse the repository at this point in the history
  • Loading branch information
umbynos committed May 13, 2021
1 parent 9eff07e commit f83530c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ jobs:
os: macos-latest
os-cmake-args: '-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang'
build-args: '-j$(sysctl -n hw.ncpu)'
dep-tool: 'otool -L'
bindir: '/build/bin'
arch: amd64
- name: windows
os: windows-latest
os-cmake-args: '-DCMAKE_CXX_FLAGS="/MP /std:c++14" -DLLVM_USE_CRT_MINSIZEREL="MT"'
build-args: '--config MinSizeRel'
dep-tool: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\dumpbin.exe"'
bindir: '/build/MinSizeRel/bin'
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'
arch: 386
Expand All @@ -33,7 +31,6 @@ jobs:
os: windows-latest
os-cmake-args: '-Thost=x64 -DCMAKE_CXX_FLAGS="/MP /std:c++14" -DLLVM_USE_CRT_MINSIZEREL="MT"'
build-args: '--config MinSizeRel'
dep-tool: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\dumpbin.exe"'
bindir: '/build/MinSizeRel/bin'
arch: amd64
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'
Expand All @@ -60,10 +57,11 @@ jobs:
- name: build
run: cmake --build ${{ env.RELEASE }}/build ${{ matrix.config.build-args }} --target clang-format clangd

- name: print dependencies
- name: print macos dependencies
run: |
${{ matrix.config.dep-tool }} ${{ env.RELEASE }}${{ matrix.config.bindir }}/clangd${{ matrix.config.extension }}
${{ matrix.config.dep-tool }} ${{ env.RELEASE }}${{ matrix.config.bindir }}/clang-format${{ matrix.config.extension }}
otool -L ${{ env.RELEASE }}${{ matrix.config.bindir }}/clangd
otool -L ${{ env.RELEASE }}${{ matrix.config.bindir }}/clang-format
if: matrix.config.os == 'macos-latest'


- name: upload artifacts
Expand Down

0 comments on commit f83530c

Please # to comment.