Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hozuki committed May 30, 2020
1 parent c2baf76 commit 7b0774c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/package-artifacts-ubuntu.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ function Get-UbuntuCodeName()
return "ubuntu_unknown"
}

. (Join-Path $PSScriptRoot "package-artifacts-common.ps1" -Resolve)

Set-Location $env:APPVEYOR_BUILD_FOLDER

# Detected in common_defines.cmake; but Ubuntu 18.04+ only supports 64-bit apps so it's a constant
[String]$cmakeArch = "x64"
# Set in build.sh
[String]$cmakeBuildType = "MinSizeRel"

. (Join-Path $PSScriptRoot "package-artifacts-common.ps1" -Resolve)
Copy-CommonTextFilesTo((Join-Path $PSScriptRoot "../bin/$cmakeArch/$cmakeBuildType" -Resolve))

& 7z a libcgss.zip -r "bin/$cmakeArch/$cmakeBuildType/*"
Expand Down
1 change: 1 addition & 0 deletions scripts/package-artifacts-win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ switch ($workerImage)

[String]$configuration = $Env:CONFIGURATION;

. (Join-Path $PSScriptRoot "package-artifacts-common.ps1" -Resolve)
Copy-CommonTextFilesTo((Join-Path $PSScriptRoot "..\bin\$buildArch\$configuration" -Resolve))

& 7z a libcgss.zip -r "bin\$buildArch\$configuration\*"
Expand Down

0 comments on commit 7b0774c

Please sign in to comment.