11version : 1.0.{build}
22
33environment :
4+ # Common variables
5+ OMNIORB_VERSION : 4.3.0
6+
47 matrix :
58 - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
69 ARCH : x64-msvc15
4144
4245 # OmniOrb
4346 - cmd : cd "C:\projects\"
44- - appveyor DownloadFile https://downloads.sourceforge.net/project/omniorb/omniORB/omniORB-4.2.5 /omniORB-4.2.5 .tar.bz2
45- - cmd : 7z x omniORB-4.2.5 .tar.bz2
46- - cmd : 7z x omniORB-4.2.5 .tar
47+ - appveyor DownloadFile https://downloads.sourceforge.net/project/omniorb/omniORB/omniORB-%OMNIORB_VERSION% /omniORB-%OMNIORB_VERSION% .tar.bz2
48+ - cmd : 7z x omniORB-%OMNIORB_VERSION% .tar.bz2
49+ - cmd : 7z x omniORB-%OMNIORB_VERSION% .tar
4750
4851 # Pthread-Win32
4952 - cmd : cd "C:\projects\"
@@ -67,24 +70,24 @@ install:
6770 - cmd : echo "Platform='%platform%' (set by vcvars batch file)"
6871 # OmniOrb
6972 # For x64 platform, change linker option (the "win32" in the file name doesn't matter)
70- - ps : if (${env:platform} -Match "x64") {(get-content c:\projects\omniORB-4.2.5 \mk\platforms\x86_win32_vs_${env:MSVCABR}.mk) | foreach-object {$_ -replace "-DEBUG", "-DEBUG -MACHINE:X64"} | set-content c:\projects\omniORB-4.2.5 \mk\platforms\x86_win32_vs_${env:MSVCABR}.mk}
73+ - ps : if (${env:platform} -Match "x64") {(get-content c:\projects\omniORB-${env:OMNIORB_VERSION} \mk\platforms\x86_win32_vs_${env:MSVCABR}.mk) | foreach-object {$_ -replace "-DEBUG", "-DEBUG -MACHINE:X64"} | set-content c:\projects\omniORB-${env:OMNIORB_VERSION} \mk\platforms\x86_win32_vs_${env:MSVCABR}.mk}
7174 # Edit config to enable the right build, with right Python version
72- - ps : (get-content c:\projects\omniORB-4.2.5 \config\config.mk) | foreach-object {$_ -replace "\#platform = x86_win32_vs_${env:MSVCABR}", "platform = x86_win32_vs_${env:MSVCABR}"} | set-content c:\projects\omniORB-4.2.5 \config\config.mk
73- - ps : (get-content c:\projects\omniORB-4.2.5 \mk\platforms\x86_win32_vs_${env:MSVCABR}.mk) | foreach-object {$_ -replace "\#PYTHON = /cygdrive/c/Python36 /python", "PYTHON = ${env:PYTHONPATHOMNI}"} | set-content c:\projects\omniORB-4.2.5 \mk\platforms\x86_win32_vs_${env:MSVCABR}.mk
75+ - ps : (get-content c:\projects\omniORB-${env:OMNIORB_VERSION} \config\config.mk) | foreach-object {$_ -replace "\#platform = x86_win32_vs_${env:MSVCABR}", "platform = x86_win32_vs_${env:MSVCABR}"} | set-content c:\projects\omniORB-${env:OMNIORB_VERSION} \config\config.mk
76+ - ps : (get-content c:\projects\omniORB-${env:OMNIORB_VERSION} \mk\platforms\x86_win32_vs_${env:MSVCABR}.mk) | foreach-object {$_ -replace "\#PYTHON = /cygdrive/c/Python310 /python", "PYTHON = ${env:PYTHONPATHOMNI}"} | set-content c:\projects\omniORB-${env:OMNIORB_VERSION} \mk\platforms\x86_win32_vs_${env:MSVCABR}.mk
7477
7578build_script :
76- - cmd : cd "C:\projects\omniORB-4.2.5 \src"
79+ - cmd : cd "C:\projects\omniORB-%OMNIORB_VERSION% \src"
7780 - cmd : make export
7881after_build :
7982 - cmd : cd "C:\projects\omniorb-windows-ci"
8083 # Generating zip
81- - cmd : 7z a omniorb-4.2.5_% ARCH%_%PYVER%.zip c:\projects\omniORB-4.2.5 \bin\
82- - cmd : 7z a omniorb-4.2.5_% ARCH%_%PYVER%.zip c:\projects\omniORB-4.2.5 \lib\
83- - cmd : 7z a omniorb-4.2.5_% ARCH%_%PYVER%.zip c:\projects\omniORB-4.2.5 \include\
84+ - cmd : 7z a omniorb-%OMNIORB_VERSION%_% ARCH%_%PYVER%.zip c:\projects\omniORB-%OMNIORB_VERSION% \bin\
85+ - cmd : 7z a omniorb-%OMNIORB_VERSION%_% ARCH%_%PYVER%.zip c:\projects\omniORB-%OMNIORB_VERSION% \lib\
86+ - cmd : 7z a omniorb-%OMNIORB_VERSION%_% ARCH%_%PYVER%.zip c:\projects\omniORB-%OMNIORB_VERSION% \include\
8487
8588on_failure :
8689# RDP for failure
87- - ps : $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
90+ # - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
8891
8992on_finish :
9093 # RDP for finish
0 commit comments