1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

CI: Unbreak packaging on WIndows (#2)

* Revert "CI: Emit sha256 sums for Windows"

This reverts commit 16c3a8e733.

* CI: Emit Windows sha without breaking things
This commit is contained in:
JohnHolmesII 2020-04-12 13:45:00 -07:00 committed by GitHub
parent 16c3a8e733
commit 69cb3f3760
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,28 +82,39 @@ jobs:
cmake --build . --config Release -- /maxcpucount cmake --build . --config Release -- /maxcpucount
displayName: Build LLVM displayName: Build LLVM
- bash: | - script: |
mkdir -p llvm_out/build/llvm mkdir llvm_out
cd llvm_out/build/llvm cd llvm_out
mkdir cmake include tools mkdir build
cp -r "../../../cmake" "./cmake" cd build
cp -r "../../../include" "./include" mkdir llvm
cd .. cd llvm
mkdir cmake
mkdir llvm_build && cd llvm_build mkdir include
mkdir tools
xcopy "..\..\..\cmake" ".\cmake" /E
xcopy "..\..\..\include" ".\include" /E
cd ..\
mkdir llvm_build
cd llvm_build
mkdir Release mkdir Release
mkdir include mkdir include
mkdir -p lib/cmake mkdir lib
cd lib
cp -r "../../../llvm_build/Release" "./Release" mkdir cmake
cp -r "../../../llvm_build/include" "./include" cd ..\
cp -r "../../../llvm_build/lib/cmake" "./lib/cmake" xcopy "..\..\..\llvm_build\Release" ".\Release" /E
cd .. xcopy "..\..\..\llvm_build\include" ".\include" /E
xcopy "..\..\..\llvm_build\lib\cmake" ".\lib\cmake" /E
cd ..\
7z a -t7z -m0=lzma2 -mx=9 -aoa -r "llvmlibs_mt.7z" * 7z a -t7z -m0=lzma2 -mx=9 -aoa -r "llvmlibs_mt.7z" *
sha256sum llvmlibs_mt.7z | awk '{ print $1 }' > llvmlibs_mt.7z.sha256
displayName: Package LLVM Libraries displayName: Package LLVM Libraries
- bash: |
cd llvm_out/build
sha256sum llvmlibs_mt.7z | awk '{ print $1 }' > llvmlibs_mt.7z.sha256
displayName: Generate sha256
- task: GitHubRelease@0 - task: GitHubRelease@0
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master') condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
inputs: inputs: