2016-08-07 16:13:58 +02:00
|
|
|
environment:
|
|
|
|
matrix:
|
2018-03-28 23:03:22 +02:00
|
|
|
- MSYSTEM: MINGW64
|
|
|
|
MSYS_ARCH: "x86_64"
|
|
|
|
ARCH: "64bit"
|
|
|
|
|
2018-02-11 23:45:16 +01:00
|
|
|
- MSYSTEM: MINGW32
|
2018-03-28 23:03:22 +02:00
|
|
|
MSYS_ARCH: "i686"
|
|
|
|
ARCH: "32bit"
|
2016-08-07 16:13:58 +02:00
|
|
|
|
2016-12-06 12:50:00 +01:00
|
|
|
branches:
|
|
|
|
only:
|
2018-08-19 22:30:34 +02:00
|
|
|
- gajim_1.1
|
2016-12-06 12:50:00 +01:00
|
|
|
|
|
|
|
clone_depth: 1
|
2016-08-07 16:13:58 +02:00
|
|
|
|
2017-05-10 17:16:14 +02:00
|
|
|
# init:
|
|
|
|
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
2016-12-28 18:06:39 +01:00
|
|
|
|
2018-02-11 23:45:16 +01:00
|
|
|
build_script:
|
2018-10-23 23:27:02 +02:00
|
|
|
- del C:\Windows\System32\libssl-*.dll C:\Windows\system32\libcrypto-*.dll
|
|
|
|
- del C:\Windows\SysWOW64\libssl-*.dll C:\Windows\SysWOW64\libcrypto-*.dll
|
2018-09-29 19:11:44 +02:00
|
|
|
- C:\msys64\usr\bin\pacman -Syuu --needed --noconfirm --noprogressbar --overwrite \\*
|
2017-05-10 17:16:14 +02:00
|
|
|
- ps: |
|
2018-01-25 18:36:12 +01:00
|
|
|
$env:TIME_STRING=(get-date -UFormat "%Y-%m-%d").ToString()
|
|
|
|
$env:BUILDROOT="C:\msys64\home\appveyor\gajim\win\_build_root"
|
|
|
|
|
|
|
|
function bash($command) {
|
|
|
|
Write-Host $command -NoNewline
|
|
|
|
C:\msys64\usr\bin\sh.exe --login -c $command
|
|
|
|
}
|
|
|
|
|
2018-03-28 23:03:22 +02:00
|
|
|
bash "git clone C:/projects/gajim C:/msys64/home/appveyor/gajim"
|
|
|
|
bash "C:/msys64/home/appveyor/gajim/win/build.sh $($env:MSYS_ARCH)"
|
2019-01-15 21:48:29 +01:00
|
|
|
Push-AppveyorArtifact "$($env:BUILDROOT)/Gajim.exe" -FileName "Gajim-1.1.2-$($env:ARCH)-$($env:TIME_STRING).exe"
|
|
|
|
Push-AppveyorArtifact "$($env:BUILDROOT)/Gajim-Portable.exe" -FileName "Gajim-Portable-1.1.2-$($env:ARCH)-$($env:TIME_STRING).exe"
|
2016-08-07 16:13:58 +02:00
|
|
|
|
2017-05-10 17:16:14 +02:00
|
|
|
# on_finish:
|
|
|
|
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
|
|
|
2016-12-09 23:53:28 +01:00
|
|
|
deploy:
|
|
|
|
# FTP deployment provider settings
|
|
|
|
- provider: FTP
|
|
|
|
protocol: ftp
|
|
|
|
host: panoramix.gajim.org
|
|
|
|
username:
|
|
|
|
secure: SNcOJDhUtBjfddbKXudE2w==
|
|
|
|
password:
|
|
|
|
secure: tQkYbcUb6nChCp0cdqo4CA==
|
|
|
|
folder: win_snap
|
|
|
|
active_mode: false
|
|
|
|
beta: true # enable alternative FTP library for 'ftp' and 'ftps' modes
|
|
|
|
debug: true
|