1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-23 03:02:53 +01:00

minor syntax changes

This commit is contained in:
zarroboogs 2018-02-23 20:42:17 +02:00 committed by Ani
parent ede76033a7
commit ca9c1674f7

View File

@ -17,11 +17,11 @@ cache:
install: install:
- ps: | # set env vars for versioning - ps: | # set env vars for versioning
$commDate = $env:APPVEYOR_REPO_COMMIT_TIMESTAMP.Substring(0,10) $commDate = $env:APPVEYOR_REPO_COMMIT_TIMESTAMP.Substring(0,10)
$commSha = $env:APPVEYOR_REPO_COMMIT.Substring(0,8) $commHash = $env:APPVEYOR_REPO_COMMIT.Substring(0,8)
$commTag = $(git describe --tags $(git rev-list --tags --max-count=1)) $commTag = $(git describe --tags $(git rev-list --tags --max-count=1))
$env:AVVER = "{0}-{1}" -f $commTag.TrimStart("v"), $env:APPVEYOR_BUILD_NUMBER $env:AVVER = "{0}-{1}" -f $commTag.TrimStart("v"), $env:APPVEYOR_BUILD_NUMBER
$env:BUILD = "rpcs3-{0}-{1}-{2}_win64.7z" -f $commTag, $commDate, $commSha $env:RPCS3 = "rpcs3-{0}-{1}-{2}_win64.7z" -f $commTag, $commDate, $commHash
- ps: | # used for experimental build warnings for pr builds - ps: | # used for experimental build warnings for pr builds
$env:BRANCH = "{0}/{1}/#{2}" -f $env:APPVEYOR_REPO_NAME, ` $env:BRANCH = "{0}/{1}/#{2}" -f $env:APPVEYOR_REPO_NAME, `
@ -75,20 +75,20 @@ after_build:
copy-item compat_database.dat .\bin\GuiConfigs\compat_database.dat copy-item compat_database.dat .\bin\GuiConfigs\compat_database.dat
- ps: | # package artifacts - ps: | # package artifacts
7z a -m0=LZMA2 -mx9 $env:BUILD .\bin\* 7z a -m0=LZMA2 -mx9 $env:RPCS3 .\bin\*
7z a -m0=LZMA2 -mx9 openssl_win64.7z C:\OpenSSL-Win64\bin\libeay32.dll ` 7z a -m0=LZMA2 -mx9 openssl_win64.7z C:\OpenSSL-Win64\bin\libeay32.dll `
C:\OpenSSL-Win64\bin\ssleay32.dll C:\OpenSSL-Win64\bin\ssleay32.dll
- ps: | # generate sha256 hashes - ps: | # generate sha256 hashes
(Get-FileHash $env:BUILD -Algorithm SHA256).Hash | Out-File -encoding ASCII "$($env:BUILD).sha256" (get-filehash $env:RPCS3 -algorithm SHA256).Hash > "$env:RPCS3.sha256"
(Get-FileHash openssl_win64.7z -Algorithm SHA256).Hash | Out-File -encoding ASCII "openssl_win64.7z.sha256" (get-filehash openssl_win64.7z -algorithm SHA256).Hash > "openssl_win64.7z.sha256"
test: off test: off
artifacts: artifacts:
- path: $(BUILD) - path: $(RPCS3)
name: rpcs3 name: rpcs3
- path: $(BUILD).sha256 - path: $(RPCS3).sha256
name: rpcs3 sha256 hash name: rpcs3 sha256 hash
- path: openssl_win64.7z - path: openssl_win64.7z
name: openssl name: openssl