1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +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
displayName: Build LLVM
- bash: |
mkdir -p llvm_out/build/llvm
cd llvm_out/build/llvm
mkdir cmake include tools
cp -r "../../../cmake" "./cmake"
cp -r "../../../include" "./include"
cd ..
mkdir llvm_build && cd llvm_build
- script: |
mkdir llvm_out
cd llvm_out
mkdir build
cd build
mkdir llvm
cd llvm
mkdir cmake
mkdir include
mkdir tools
xcopy "..\..\..\cmake" ".\cmake" /E
xcopy "..\..\..\include" ".\include" /E
cd ..\
mkdir llvm_build
cd llvm_build
mkdir Release
mkdir include
mkdir -p lib/cmake
cp -r "../../../llvm_build/Release" "./Release"
cp -r "../../../llvm_build/include" "./include"
cp -r "../../../llvm_build/lib/cmake" "./lib/cmake"
cd ..
mkdir lib
cd lib
mkdir cmake
cd ..\
xcopy "..\..\..\llvm_build\Release" ".\Release" /E
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" *
sha256sum llvmlibs_mt.7z | awk '{ print $1 }' > llvmlibs_mt.7z.sha256
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
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
inputs: