Skip to content

Commit 2c00b5c

Browse files
committed
Appveyor CI: Install OpenAFS on Windows
1 parent 0d6e3ab commit 2c00b5c

File tree

1 file changed

+33
-8
lines changed

1 file changed

+33
-8
lines changed

appveyor.yml

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,49 @@ configuration: Release
1212
environment:
1313
ROOTSYS: C:\root
1414
PATH: '%ROOTSYS%\bin;C:\Qt\5.6\msvc2015;C:\Python35;C:\Miniconda35;C:\Miniconda35\\Scripts;%PATH%'
15+
16+
init:
17+
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
18+
1519
before_build:
16-
- del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
1720
- cmd: >-
18-
conda config --set always_yes yes --set changeps1 no
1921
22+
del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
23+
24+
conda config --set always_yes yes --set changeps1 no
25+
2026
conda info -a
21-
27+
2228
conda create -q -n test-environment numpy
23-
29+
2430
activate test-environment
2531
2632
powershell -command "$clnt = new-object System.Net.WebClient; $clnt.DownloadFile(\"https://root.cern.ch/download/root_v5.34.36.win32.vc12.zip\",\"C:\\root_v5.34.36.win32.vc12.zip\")"
27-
33+
2834
7z -y x C:\\root_v5.34.36.win32.vc12.zip -oC:\
2935
30-
cd build
31-
32-
cmake -DBUILD_onlinemon=ON -DBUILD_python=OFF ..
36+
powershell -command "$clnt = new-object System.Net.WebClient; $clnt.DownloadFile(\"https://www.secure-endpoints.com/binaries/heimdal/Heimdal-AMD64-full-1-6-2-0.msi\",\"C:\\Heimdal-AMD64-full-1-6-2-0.msi\")"
37+
38+
powershell -command "msiexec /i \"C:\\Heimdal-AMD64-full-1-6-2-0.msi\" /quiet /qn /norestart /log install.log"
39+
40+
powershell -command "$clnt = new-object System.Net.WebClient; $clnt.DownloadFile(\"http://dl.openafs.org/dl/openafs/1.7.31/winxp/openafs-en_US-64bit-1-7-3100.msi\",\"C:\\openafs-en_US-64bit-1-7-3100.msi\")"
41+
42+
powershell -command "msiexec /i \"C:\\openafs-en_US-64bit-1-7-3100.msi\" /quiet /qn /norestart /log install.log"
43+
44+
powershell -command "$clnt = new-object System.Net.WebClient; $clnt.DownloadFile(\"http://dl.openafs.org/dl/openafs/1.7.31/winxp/openafs-32bit-tools-en_US-1-7-3100.msi\",\"C:\\openafs-32bit-tools-en_US-1-7-3100.msi\")"
45+
46+
powershell -command "msiexec /i \"C:\\openafs-32bit-tools-en_US-1-7-3100.msi\" /quiet /qn /norestart /log install.log"
47+
48+
powershell -command "Restart-Computer -Force"
49+
50+
powershell -command "Start-Sleep -s 10"
3351
3452
build_script:
53+
- cd %APPVEYOR_BUILD_FOLDER%\build
54+
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
55+
- cmake -DBUILD_onlinemon=ON -DBUILD_python=OFF -DBUILD_tlu=ON ..
56+
3557
- msbuild INSTALL.vcxproj
58+
59+
on_finish:
60+
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

0 commit comments

Comments
 (0)