diff options
Diffstat (limited to 'coin/provisioning/qtci-windows-10-x86_64')
20 files changed, 208 insertions, 358 deletions
diff --git a/coin/provisioning/qtci-windows-10-x86_64/01-windows_removethemall.ps1 b/coin/provisioning/qtci-windows-10-x86_64/01-windows_removethemall.ps1 index 3bb0af0e..dfca166f 100644 --- a/coin/provisioning/qtci-windows-10-x86_64/01-windows_removethemall.ps1 +++ b/coin/provisioning/qtci-windows-10-x86_64/01-windows_removethemall.ps1 @@ -1 +1 @@ -. "$PSScriptRoot\..\common\01-windows_removethemall.ps1" +. "$PSScriptRoot\..\common\windows_removethemall.ps1" diff --git a/coin/provisioning/qtci-windows-10-x86_64/03-conan.ps1 b/coin/provisioning/qtci-windows-10-x86_64/03-conan.ps1 index 78de7043..65aee221 100644 --- a/coin/provisioning/qtci-windows-10-x86_64/03-conan.ps1 +++ b/coin/provisioning/qtci-windows-10-x86_64/03-conan.ps1 @@ -7,3 +7,27 @@ Run-Conan-Install ` -Compiler "Visual Studio" ` -CompilerVersion 14 ` -CompilerRuntime MD + +Run-Conan-Install ` + -ConanfilesDir "$PSScriptRoot\conanfiles" ` + -BuildinfoDir MSVC2015-x86 ` + -Arch x86 ` + -Compiler "Visual Studio" ` + -CompilerVersion 14 ` + -CompilerRuntime MD + +Run-Conan-Install ` + -ConanfilesDir "$PSScriptRoot\conanfiles" ` + -BuildinfoDir MSVC2017-x86_64 ` + -Arch x86_64 ` + -Compiler "Visual Studio" ` + -CompilerVersion 15 ` + -CompilerRuntime MD + +Run-Conan-Install ` + -ConanfilesDir "$PSScriptRoot\conanfiles" ` + -BuildinfoDir MSVC2017-x86 ` + -Arch x86 ` + -Compiler "Visual Studio" ` + -CompilerVersion 15 ` + -CompilerRuntime MD diff --git a/coin/provisioning/qtci-windows-10-x86_64/05-mingw53.ps1 b/coin/provisioning/qtci-windows-10-x86_64/05-mingw53.ps1 new file mode 100644 index 00000000..d4439856 --- /dev/null +++ b/coin/provisioning/qtci-windows-10-x86_64/05-mingw53.ps1 @@ -0,0 +1,48 @@ +############################################################################# +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the provisioning scripts of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:LGPL21$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. For further +## information use the contact form at http://www.qt.io/contact-us. +## +## GNU Lesser General Public License Usage +## Alternatively, this file may be used under the terms of the GNU Lesser +## General Public License version 2.1 or version 3 as published by the Free +## Software Foundation and appearing in the file LICENSE.LGPLv21 and +## LICENSE.LGPLv3 included in the packaging of this file. Please review the +## following information to ensure the GNU Lesser General Public License +## requirements will be met: https://www.gnu.org/licenses/lgpl.html and +## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +## +## As a special exception, The Qt Company gives you certain additional +## rights. These rights are described in The Qt Company LGPL Exception +## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +## +## $QT_END_LICENSE$ +## +############################################################################# + +. "$PSScriptRoot\..\common\helpers.ps1" + +# This script installs MinGW 5.3 + + +$zip = "c:\users\qt\downloads\i686-5.3.0-release-posix-dwarf-rt_v4-rev0.7z" + +Invoke-WebRequest -UseBasicParsing http://download.qt.io/development_releases/prebuilt/mingw_32/i686-5.3.0-release-posix-dwarf-rt_v4-rev0.7z -OutFile $zip +Verify-Checksum $zip "d4f21d25f3454f8efdada50e5ad799a0a9e07c6a" +Extract-7Zip $zip C:\ +Rename-Item -path C:\mingw32 -newName C:\MinGW530 + +[Environment]::SetEnvironmentVariable("MINGW530", "C:\MinGW530", "Machine") +echo "MinGW = 5.3.0" >> ~/versions.txt +del $zip diff --git a/coin/provisioning/qtci-windows-10-x86_64/05-qnx_700.ps1 b/coin/provisioning/qtci-windows-10-x86_64/05-qnx_700.ps1 new file mode 100644 index 00000000..cc00fe0d --- /dev/null +++ b/coin/provisioning/qtci-windows-10-x86_64/05-qnx_700.ps1 @@ -0,0 +1,46 @@ +############################################################################# +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the provisioning scripts of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:LGPL21$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. For further +## information use the contact form at http://www.qt.io/contact-us. +## +## GNU Lesser General Public License Usage +## Alternatively, this file may be used under the terms of the GNU Lesser +## General Public License version 2.1 or version 3 as published by the Free +## Software Foundation and appearing in the file LICENSE.LGPLv21 and +## LICENSE.LGPLv3 included in the packaging of this file. Please review the +## following information to ensure the GNU Lesser General Public License +## requirements will be met: https://www.gnu.org/licenses/lgpl.html and +## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +## +## As a special exception, The Qt Company gives you certain additional +## rights. These rights are described in The Qt Company LGPL Exception +## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +## +## $QT_END_LICENSE$ +## +############################################################################# + +. "$PSScriptRoot\..\common\helpers.ps1" + +# This script installs QNX SDP 7.0 + +$zip = "c:\users\qt\downloads\qnx700.7z" + +Invoke-WebRequest -UseBasicParsing http://ci-files01-hki.ci.local/input/qnx/qnx700.7z -OutFile $zip +Verify-Checksum $zip "2eab8bcf993056f79c9e2585c9c05e05658ba8bb" +Extract-7Zip $zip C:\ + +[Environment]::SetEnvironmentVariable("QNX_700", "C:\QNX700", "Machine") +echo "QNX SDP = 7.0.0" >> ~/versions.txt +del $zip diff --git a/coin/provisioning/qtci-windows-10-x86_64/06-ninja.ps1 b/coin/provisioning/qtci-windows-10-x86_64/06-ninja.ps1 new file mode 100644 index 00000000..e46361a0 --- /dev/null +++ b/coin/provisioning/qtci-windows-10-x86_64/06-ninja.ps1 @@ -0,0 +1 @@ +. "$PSScriptRoot\..\common\ninja.ps1" diff --git a/coin/provisioning/qtci-windows-10-x86_64/08-libclang.ps1 b/coin/provisioning/qtci-windows-10-x86_64/08-libclang.ps1 new file mode 100644 index 00000000..7eeb0a37 --- /dev/null +++ b/coin/provisioning/qtci-windows-10-x86_64/08-libclang.ps1 @@ -0,0 +1 @@ +. "$PSScriptRoot\..\common\libclang.ps1" 64 diff --git a/coin/provisioning/qtci-windows-10-x86_64/3dstudio_3rdparty.ps1 b/coin/provisioning/qtci-windows-10-x86_64/3dstudio_3rdparty.ps1 new file mode 100644 index 00000000..3bc58072 --- /dev/null +++ b/coin/provisioning/qtci-windows-10-x86_64/3dstudio_3rdparty.ps1 @@ -0,0 +1 @@ +. "$PSScriptRoot\..\common\3dstudio_3rdparty.ps1" diff --git a/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/icu/57.1/vitallium/stable/export/conanmanifest.txt b/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/icu/57.1/vitallium/stable/export/conanmanifest.txt deleted file mode 100644 index 392eb24f..00000000 --- a/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/icu/57.1/vitallium/stable/export/conanmanifest.txt +++ /dev/null @@ -1,2 +0,0 @@ -1482492127 -conanfile.py: 7edc28cf26a4c3acd9b1c9f08ea8cba3 diff --git a/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/icu/57.1/vitallium/stable/package/c4195ae4643996fbb226d1e0265076354ac622bb/conanmanifest.txt b/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/icu/57.1/vitallium/stable/package/c4195ae4643996fbb226d1e0265076354ac622bb/conanmanifest.txt deleted file mode 100644 index d2d84a21..00000000 --- a/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/icu/57.1/vitallium/stable/package/c4195ae4643996fbb226d1e0265076354ac622bb/conanmanifest.txt +++ /dev/null @@ -1,180 +0,0 @@ -1482492365 -bin/icudt57.dll: 9424922f2422576e81509aad8911629d -bin/icuin57.dll: 731ea41a670e4913d4dbeb9cf2fb300d -bin/icutest57.dll: 0103d75f36194e398d8b89c12a6fb6f3 -bin/icutu57.dll: a94d3824640e025353d025a3f50caf10 -bin/icuuc57.dll: 96ecbd9165898f291b3920609ade6096 -conaninfo.txt: 05bf80d930c44b525645a86d8fd1084d -include/unicode/alphaindex.h: e74fcba85b76577d32b90bc0056ee5d9 -include/unicode/appendable.h: 5c2d97a96252e2c959d4c226a554575b -include/unicode/basictz.h: 444077f7dd19bd6dbe24034360356e8a -include/unicode/brkiter.h: 0a5796a84c272600a360dc5918899492 -include/unicode/bytestream.h: f828cc9f542c232d2aadb09b9099c559 -include/unicode/bytestrie.h: 765c037e45325e1970e839349df7c28c -include/unicode/bytestriebuilder.h: 634c9203ef678ee0d8fd9baffa8e3e46 -include/unicode/calendar.h: e360220586bcd0c3ea93b610bf4fe202 -include/unicode/caniter.h: f6de1e31cdc53563f35b093f8f8a07d8 -include/unicode/chariter.h: d6030b3dffd5355f9377318f76dd69de -include/unicode/choicfmt.h: e86083f42af655ca0806ce1ed3dc55a0 -include/unicode/coleitr.h: 9a393483da6d9daae0bf18dd997abcfa -include/unicode/coll.h: 06d3855e97984cd27579ec69b1985cc1 -include/unicode/compactdecimalformat.h: d1cca4ce6027a3d42a29b55e9ce0b82c -include/unicode/curramt.h: efd2919661fe8dbc23f6b0f5bd33e685 -include/unicode/currpinf.h: b3cf75cd234ec080a7fee08e20906be6 -include/unicode/currunit.h: f8b67c06aa5547b9911378f39e70bc5d -include/unicode/datefmt.h: 034fcd313ba7753923be9b30833ff13e -include/unicode/dbbi.h: 3435ff244bdf7d248fa81c8162f6da9c -include/unicode/dcfmtsym.h: e4935f31b8f97b149fa686a9996f6758 -include/unicode/decimfmt.h: e4fcfcfcb4bb45e7935cec1ec41ba359 -include/unicode/docmain.h: 81c20148681a5d7598d33fe1e49f3c5b -include/unicode/dtfmtsym.h: 4a7ee444945513d0939376634f42d0ec -include/unicode/dtintrv.h: 9d0929775a3d4599f90020ffb304d66c -include/unicode/dtitvfmt.h: d42ce527e4a5eb3138782d92acd97b88 -include/unicode/dtitvinf.h: c7cedf40b871f6d3c77cc013d06983f7 -include/unicode/dtptngen.h: b7e58f01d5e588371e22e55a2d255208 -include/unicode/dtrule.h: 9b687ce82b426bfd8b67f2a743f9114c -include/unicode/enumset.h: 9b15421cfac73c8845562dc2eba0f2e9 -include/unicode/errorcode.h: 28c37140645dfa2f430cf531131a2cbb -include/unicode/fieldpos.h: ae206bb308885c2dae6bd15792512e6f -include/unicode/fmtable.h: fe37b4f3f1862172fcf708a8913b5d90 -include/unicode/format.h: 637778c5df6458f3f90d6f87e7d6a694 -include/unicode/fpositer.h: 276908f795beea88cd9d3f6f43ff82b2 -include/unicode/gender.h: 05bdc8c839f568e55c1d5d57c034dd36 -include/unicode/gregocal.h: 165eb6c7ffe6d914240c4bc0a2d7e5e0 -include/unicode/icudataver.h: 6b463f7d991d4cf4b0278bda90d4419f -include/unicode/icuplug.h: 2688326bbc6184edbfb04a9e398a363a -include/unicode/idna.h: b7885800ec0092f7b0411810ef0a0150 -include/unicode/listformatter.h: 8e460de80d6cb5701b3fcc2a3e704c14 -include/unicode/localpointer.h: ef6f8ec1d09bcfd660632f2df08c8d30 -include/unicode/locdspnm.h: df688f9f85fa7927b037811db0a5a934 -include/unicode/locid.h: 7d2c34577acdb5d7372ab35b02068581 -include/unicode/measfmt.h: fdd0cbd2a7f3af228f25560a3f63c4ad -include/unicode/measunit.h: 54bcc9c8bd45f4d61baad1ecfda8874d -include/unicode/measure.h: 3a03dc0bc233874de9b869a64a057835 -include/unicode/messagepattern.h: e3ae4457660d55835e42d88c3338a661 -include/unicode/msgfmt.h: de76868b18a099b367a685c31c0a14d8 -include/unicode/normalizer2.h: 0b96e4e3fe2db9df3ea140dbbe8ea140 -include/unicode/normlzr.h: 850f123dce4120db36601bcd4a77e925 -include/unicode/numfmt.h: c45e7b584738ae545937b3431a7e97b7 -include/unicode/numsys.h: 3b40734e737a0328f7c63124f07727e4 -include/unicode/parseerr.h: aa97d4d0cb5ef66baf1652c46223a81f -include/unicode/parsepos.h: 408632c4f4a0ec42811b50295be88ec9 -include/unicode/platform.h: fceecfa20a56af2a62a310d3d9fd1b14 -include/unicode/plurfmt.h: 06a5b724a0cdc04673d2467002605b50 -include/unicode/plurrule.h: 19d8e5c3f59ac4a833883da7fc52279c -include/unicode/ptypes.h: 93226b56866b0001f58f0319e430da08 -include/unicode/putil.h: 12979acdf705cac063a0f7862a20907b -include/unicode/rbbi.h: f0fe0af5306ea31bcb128a57dad17785 -include/unicode/rbnf.h: fa3ee91ae518f46628171c5eda544702 -include/unicode/rbtz.h: 76eb867d186e64e6bd425561d9371d7d -include/unicode/regex.h: 3ef7c102b12d3167fa019d203f524ec4 -include/unicode/region.h: 149a3b19b81a6e9093cb40f63a688fe7 -include/unicode/reldatefmt.h: 0f38d6b83c8a59898e4b546bd00bb459 -include/unicode/rep.h: 5fa4336c1302e276e81d2716a9789511 -include/unicode/resbund.h: 8c9bf16c940d2fa6d27e92b4b9023b1c -include/unicode/schriter.h: fcb1bcf67285e897acf621e937b13010 -include/unicode/scientificnumberformatter.h: 0f0c586dcb3cb2d59c10f9a42490e81f -include/unicode/search.h: ddfee95357399f1840854929715a99f3 -include/unicode/selfmt.h: cf18d9ce0e01636d74c14aac25dea995 -include/unicode/simpleformatter.h: aa8128e6a7368689e974552143be3c55 -include/unicode/simpletz.h: 0c847bdd492d23c7d78993e03d8364b8 -include/unicode/smpdtfmt.h: 19192d367d28f9812c71588222331218 -include/unicode/sortkey.h: 323299d4a40734274de910e74e6b7714 -include/unicode/std_string.h: e019f8e200de712588502817a22e5049 -include/unicode/strenum.h: cece8736aaa78de5edb80b2d8bcf2339 -include/unicode/stringpiece.h: 707434771237dbc6467f49aebc26f7f7 -include/unicode/stringtriebuilder.h: 251396f1c130290458da7553cca598f6 -include/unicode/stsearch.h: 70a69561b21c1a8e14f7d1a4e0760392 -include/unicode/symtable.h: dd632a7e27832b5992d4a54205c599c4 -include/unicode/tblcoll.h: 95b69fba4fd024406b9e4d991f1ad7c7 -include/unicode/timezone.h: 3e88d71098f36369b9892baff81c603c -include/unicode/tmunit.h: b946f43e7c8bec8aa50ddd6120671446 -include/unicode/tmutamt.h: e67a0e5e8b642aee17578411d554bcc2 -include/unicode/tmutfmt.h: 9d7e425317331c3ed890cefb0f654004 -include/unicode/translit.h: 9eb1419219ba781ff4653b4983a4e33c -include/unicode/tzfmt.h: 31ad89c49cc59da450befd0a9c2cee84 -include/unicode/tznames.h: 72003f95cbf6b2bb6acc12d3b4b3f41a -include/unicode/tzrule.h: 6416905b7247c15c939cc0e2d32a6510 -include/unicode/tztrans.h: 223b5af929e494c1894c6a24e8685f44 -include/unicode/ubidi.h: 66179ab0b99a5d356dba19e14eb5ecd3 -include/unicode/ubrk.h: 117eb54e39da5ce3dba2c9679707b0b7 -include/unicode/ucal.h: 70b7c32899132549a87577d2e96d8b75 -include/unicode/ucasemap.h: 1f64f081f3d1ee03e17d9cebb4b39c34 -include/unicode/ucat.h: 7420c409443c281d0396a824f7ce954c -include/unicode/uchar.h: 6049da45cae06c38009809cd701e8fc8 -include/unicode/ucharstrie.h: cdd315664d45ceeb931f740427eba956 -include/unicode/ucharstriebuilder.h: 08b57db9db7ec6c83a727b4e7e93a84c -include/unicode/uchriter.h: 26aecb73ed6c3b66d45920b6edc82e94 -include/unicode/uclean.h: 220a7ed9637f6d08844892406ee12fd7 -include/unicode/ucnv.h: 90e6635683216cf04e9e51c7793cce02 -include/unicode/ucnv_cb.h: 29d1534d54197074136641f9e73bca3a -include/unicode/ucnv_err.h: 0b8f3b01f733daf5fa2bab7d0c77a83f -include/unicode/ucnvsel.h: af61d762e6c51d92c6191a6234eba4c0 -include/unicode/ucol.h: 5794231873c0168366cac78abd7b9ba8 -include/unicode/ucoleitr.h: 2960fa61e49001636797afbc1cbd3e61 -include/unicode/uconfig.h: 2bc6d6073763aa34555775d5868dec4e -include/unicode/ucsdet.h: 77f79ed197997607ad82834cddcecee3 -include/unicode/ucurr.h: 4e010cfe5251e583c06597df3dbbd7c8 -include/unicode/udat.h: 03876d47a6da7ae776311f580635c003 -include/unicode/udata.h: ca1f4a55a240ea9586f2cca1ea4764c8 -include/unicode/udateintervalformat.h: 6f55cc14a063de8c79b74a7316d93e6f -include/unicode/udatpg.h: fd44f3f982452c68cdf6b1f3b159f068 -include/unicode/udisplaycontext.h: cdd37d6941337b96a75801e0716ca045 -include/unicode/uenum.h: 0f39322455d626debaf0bbe476a77c54 -include/unicode/ufieldpositer.h: 68ae4017d10f71b84083c24b2e09b536 -include/unicode/uformattable.h: 257f1dd17c788b7f5eab9ee3627f654c -include/unicode/ugender.h: be7155c7b25e2a7b7ea4d22ffc939557 -include/unicode/uidna.h: 851038bc78b135bf99c65dd0648e78f7 -include/unicode/uiter.h: 8e6b6197795cb2d42f8c80922d28ccf2 -include/unicode/uldnames.h: 8545429414195c42ee9a05694540bd8d -include/unicode/ulistformatter.h: 56cc2f8025387fcb18422300373a6e47 -include/unicode/uloc.h: b048d6c8e26ed8a65d0403d90ea4081c -include/unicode/ulocdata.h: 0803ed6ac97fbf4a10c3ca436f903fb2 -include/unicode/umachine.h: 8946d5b383646c9de9fc8c84eb0456fd -include/unicode/umisc.h: 3f34c9d536fdd5d4fddca2cf952bcfaa -include/unicode/umsg.h: 8880b14654d63c6e78a50d8f569b2766 -include/unicode/unifilt.h: 3b0368ea2da9a503aa47803e395b513e -include/unicode/unifunct.h: 3d37601bd3ae27b4e51431713d9f7533 -include/unicode/unimatch.h: e1a18096e0c7c7220c5c9149cd2d184c -include/unicode/unirepl.h: 7f1973a960a652ff74fa63e21969bab9 -include/unicode/uniset.h: fa3cfc8b4883a69120bf35e65f5d75ec -include/unicode/unistr.h: 975e37994ae2d3197a86284f1bdacdf3 -include/unicode/unorm.h: a04a23023daa99571ef2b7edca9dc6d2 -include/unicode/unorm2.h: 5ab66d75a9251a8df00f2075128ab010 -include/unicode/unum.h: 6e24b3d63e65f4d0a3076d33708a96d7 -include/unicode/unumsys.h: d239b6c2f97f51c221fcd66865adbaf9 -include/unicode/uobject.h: 07ebe875a9d304f71f525d2a71b20ddc -include/unicode/upluralrules.h: d9a66886a7585743cc8abe54af8e5955 -include/unicode/uregex.h: 6eb3c76e7d6fa2fed34b77f7fcc5cc85 -include/unicode/uregion.h: 0819c20dc8e0b5aebc5ec527828f565e -include/unicode/ureldatefmt.h: 057a6220b33c1c81e0cebc9a5da40929 -include/unicode/urename.h: 73c3a4cd707c1549f27341c859b099bb -include/unicode/urep.h: dc3eaf59ed5c198facce9f4a97a79ecf -include/unicode/ures.h: 6b374e2d473dfab51bcf7306c46f9eb6 -include/unicode/uscript.h: baaefbb5a6c5e251da2bb1800626d9e4 -include/unicode/usearch.h: 3e51b12fdf6a1adfc4696946ac0a4b6c -include/unicode/uset.h: 62d5813111f8391b4f616da08802aa24 -include/unicode/usetiter.h: 6baeb6276d80be18739355f9549b38e7 -include/unicode/ushape.h: f87732f736df2bbb90d46a10779876e7 -include/unicode/uspoof.h: a6510014653e0576fcf39c9dfd74f955 -include/unicode/usprep.h: 4ea1ec6a6d4fcbf2c1a239f23873da98 -include/unicode/ustring.h: 49c56a6248a7c92ee93a11331d2a6364 -include/unicode/ustringtrie.h: 08470063002ce9a8df978481b0d5588d -include/unicode/utext.h: c83e4d6390b463b28168cf90a734966e -include/unicode/utf.h: 0d1807bea996ca42bad86a938ba69453 -include/unicode/utf16.h: b376232af20fa9f77c983c6cc91800cf -include/unicode/utf32.h: ed15f0927cec48cab1922d08e1fdcce1 -include/unicode/utf8.h: 0d3fb609e35e2c67dce1a4889973bebd -include/unicode/utf_old.h: fce92682d7539e0fde301c54ef9e8760 -include/unicode/utmscale.h: 267dcde091ed1b81f03b1fff49c05e69 -include/unicode/utrace.h: 25f64a4cd8fc8a13bdfadd59bb287d49 -include/unicode/utrans.h: cc28e262a704403f38c26becae727165 -include/unicode/utypes.h: 21e5e8cc7dc66bdb83f70971bed1a5e4 -include/unicode/uvernum.h: d878c9e384487c8668c122712134c0f1 -include/unicode/uversion.h: 140b36fa9bffd2cb2b1c7f02691923e6 -include/unicode/vtzone.h: 90e065183436be0a94918465f66be863 -lib/icudt.lib: cf92bb1d1fc1ffea58e7058134fd0f71 -lib/icuin.lib: eca7f889859a2078dba5ae0c228bb45f -lib/icutest.lib: daf163f500ea14d3eafcb2e7885b5f2f -lib/icutu.lib: 6236376ec549a1daba31f7b34cdbb957 -lib/icuuc.lib: f3cfefda92e691c3f81cae2ac3fdff14 diff --git a/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/libxml2/2.9.4/vitallium/stable/export/conanmanifest.txt b/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/libxml2/2.9.4/vitallium/stable/export/conanmanifest.txt deleted file mode 100644 index c958bb87..00000000 --- a/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/libxml2/2.9.4/vitallium/stable/export/conanmanifest.txt +++ /dev/null @@ -1,2 +0,0 @@ -1482493404 -conanfile.py: 4c879159bebcecec85173f085cd4c3c7 diff --git a/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/libxml2/2.9.4/vitallium/stable/package/95a4a855074d4607ef02a5a86bf5ef1666dd773e/conanmanifest.txt b/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/libxml2/2.9.4/vitallium/stable/package/95a4a855074d4607ef02a5a86bf5ef1666dd773e/conanmanifest.txt deleted file mode 100644 index 4b9ecc61..00000000 --- a/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/libxml2/2.9.4/vitallium/stable/package/95a4a855074d4607ef02a5a86bf5ef1666dd773e/conanmanifest.txt +++ /dev/null @@ -1,55 +0,0 @@ -1482493354 -bin/libxml2.dll: 0b02196ac933431b150fb73a5bed7518 -conaninfo.txt: 29ccd6acef148fd29fc8ebee20216618 -include/libxml/DOCBparser.h: 21e6523a86338325c527e1e8847adc1d -include/libxml/HTMLparser.h: 083a413aedc738e1903735b7f1678087 -include/libxml/HTMLtree.h: 46cf4cefb419e18c40b8d5b6ac982f3f -include/libxml/SAX.h: bf46553ceac47b24126d4a1abb7b26fa -include/libxml/SAX2.h: 226675de48e46a282141b438b0895db4 -include/libxml/c14n.h: 083bf52bbdd0563ff61605cb2bc9316f -include/libxml/catalog.h: 1d5e464fe629dde9758d6c33ea7a3d8e -include/libxml/chvalid.h: 4e1ca6554b98687e75d03662cd92d14e -include/libxml/debugXML.h: 73816937df233c77ebfa261f3ca00dd8 -include/libxml/dict.h: 93b78165ce896cbda4417bd278259714 -include/libxml/encoding.h: e07b28c25a85356f585dd6891e0c7778 -include/libxml/entities.h: 16467595fdaff28420d1657b1658f267 -include/libxml/globals.h: 7dc017984a2a506caaeb45db0e895357 -include/libxml/hash.h: 747ad49c1a665e2eafaf052cbd9d165b -include/libxml/list.h: a81670013af01c8003fa9fdbd9a8cad7 -include/libxml/nanoftp.h: a4aad060f2cedb04dacbe4c58969817a -include/libxml/nanohttp.h: d31b62933eab6d58a46eb075b49b7715 -include/libxml/parser.h: 3ef7bece85150ab2319aed3fd0d36034 -include/libxml/parserInternals.h: c55ce5832dae535ce6d59b6aa10f6133 -include/libxml/pattern.h: db123ed3ecc27ab31b3f808e96edb492 -include/libxml/relaxng.h: 348c151f5b45a3543862c0e280f9fbba -include/libxml/schemasInternals.h: 28ed78fdce3dbad508a6381dd580d1e7 -include/libxml/schematron.h: 96d9e0c083c4949e246ce02cf31de483 -include/libxml/threads.h: 2c630b6409352bcd1e10d94177215265 -include/libxml/tree.h: f2a9a61c9a96a73c293f57bff2913ffb -include/libxml/uri.h: 032d430e35153af35f2fe17a9e9c37bf -include/libxml/valid.h: 3c082c0a5b81e1bc9fd9a21b69014584 -include/libxml/xinclude.h: 1f8b2beb8f49da4bf3a658d31dccb2ef -include/libxml/xlink.h: 8b82b67e61ebffc721bd23af66724f49 -include/libxml/xmlIO.h: 31c8dfbaee25e20cd0d6eb2549929f5d -include/libxml/xmlautomata.h: 3c3c0a7d353bacfbede7c2decf27e62a -include/libxml/xmlerror.h: 9f03d7b7788f158e68a75132e9249975 -include/libxml/xmlexports.h: c7982540f18e547b3ca70c7259c59e4c -include/libxml/xmlmemory.h: c0167c625ecaf670d76480506425b472 -include/libxml/xmlmodule.h: de174bf853776e7e653c66c059d19e61 -include/libxml/xmlreader.h: dbd5ae99042659a13427209a2bc0041f -include/libxml/xmlregexp.h: fea3110c96e8cd9013900e1c8e5b6c0b -include/libxml/xmlsave.h: eed2463cad941f74f99b8b9bc03aa74d -include/libxml/xmlschemas.h: 44ee98f77e997b8843fe6e5c45aa4ab0 -include/libxml/xmlschemastypes.h: 160197e01dfa56cd9ad09d201d5bdeb4 -include/libxml/xmlstring.h: 82efb8a055d5fc8eb7d815ed471eca53 -include/libxml/xmlunicode.h: b9f0b8acddfee9b620ea822978a51d29 -include/libxml/xmlversion.h: 0c268947477509833b9edc4ae096da41 -include/libxml/xmlwriter.h: 8694436144b1fb0aab2e2d6b725035e3 -include/libxml/xpath.h: 2e60b359a61db15d05409ebef1b140b1 -include/libxml/xpathInternals.h: c18fad3cce22369a75166afed6343bcd -include/libxml/xpointer.h: 5b8025430888d5b99d03d159ddc78388 -include/win32config.h: 410df263529fb9ec616b22f590dbdd1d -include/wsockcompat.h: f975f4dc926c27ab755f05a79296bd72 -lib/libxml2.lib: 7ab0a2cf0511ea7eb2593a24e5a31750 -lib/libxml2_a.lib: a4d10046b1cf6910811687a04ef38d6f -lib/libxml2_a_dll.lib: f785611927ed7f3a9514a1ccac31fd10 diff --git a/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/libxslt/1.1.29/vitallium/stable/export/conanmanifest.txt b/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/libxslt/1.1.29/vitallium/stable/export/conanmanifest.txt deleted file mode 100644 index be77d721..00000000 --- a/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/libxslt/1.1.29/vitallium/stable/export/conanmanifest.txt +++ /dev/null @@ -1,2 +0,0 @@ -1478438034 -conanfile.py: 2472a82109b2d59062d3e50a54d08a4a diff --git a/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/libxslt/1.1.29/vitallium/stable/package/19663639a14063d996b277c7fac0e00264689c20/conanmanifest.txt b/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/libxslt/1.1.29/vitallium/stable/package/19663639a14063d996b277c7fac0e00264689c20/conanmanifest.txt deleted file mode 100644 index 0820b583..00000000 --- a/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.manifests/libxslt/1.1.29/vitallium/stable/package/19663639a14063d996b277c7fac0e00264689c20/conanmanifest.txt +++ /dev/null @@ -1,38 +0,0 @@ -1482494796 -bin/libexslt.dll: acf1f58607eb1a10534cc30ca2bf2c9f -bin/libxslt.dll: 9edc15648704934221ec3afcedb25451 -conaninfo.txt: 224814c47f7d14968c401d2180974e77 -include/libexslt/exslt.h: f01af3bf058520059ba6d50f42133717 -include/libexslt/exsltconfig.h: a36134fd73a90b0c39ba3eb4fa8833b9 -include/libexslt/exsltexports.h: 079c35b6fa14302aad0764c1dee57809 -include/libexslt/libexslt.h: 2a281322663dba16ccf7b4ed1eb5858f -include/libxslt/attributes.h: 32e43c08f66b85266c391301d322a21f -include/libxslt/documents.h: 22a35bd1102fd1ac301e50cf650a8b8a -include/libxslt/extensions.h: 0396b6be07f707b0c6ee171a63b2e520 -include/libxslt/extra.h: 6d41618d5d9708628ec9b33a587f06c3 -include/libxslt/functions.h: b5ad00884390fb9b86c55a2628e9f6a0 -include/libxslt/imports.h: 66e26ad969e3c37fdeedcbc2716d7cf3 -include/libxslt/keys.h: 77a11ee3de841d02d3461b829cfcc11e -include/libxslt/libxslt.h: 11c489a4083c7d341b70e8693676852f -include/libxslt/namespaces.h: c784b4b8e80274491fe023ce26d4847b -include/libxslt/numbersInternals.h: 27c2c21ab1535f84710fe1c8c8829018 -include/libxslt/pattern.h: 1d928199f1adf63d79d9ec6aa7eb060f -include/libxslt/preproc.h: 829de337aca8b15f699708e6b7340549 -include/libxslt/security.h: 1b24b61ea6afe01d18c647c94b1245c7 -include/libxslt/templates.h: 6901f4c8fad239b588b9f6d4cdfef5ac -include/libxslt/transform.h: 060c2e753adea589569d2835a006075e -include/libxslt/trio.h: 7da7b1fcf378330699c7ecdd96908641 -include/libxslt/triodef.h: e41149b088de4a04c067c85969f4db3c -include/libxslt/variables.h: ee9c8174c5a42ab6821d2e28f0a15661 -include/libxslt/win32config.h: c64153b1a2c8bba1a8aa600741f04690 -include/libxslt/xslt.h: 0c08b8e7223b72f822a58457520b6387 -include/libxslt/xsltInternals.h: 4b93c6b8abdb8f67a5718ed98a2b2e6e -include/libxslt/xsltconfig.h: 047bffd75335b6951063c467c91973a7 -include/libxslt/xsltexports.h: 207ffe4e458a8c24635b3eb24bdd8000 -include/libxslt/xsltlocale.h: b934279cc2a6556075638425e5634b07 -include/libxslt/xsltutils.h: c190bd536ce0cffe1ccba74c68f7b0c9 -include/libxslt/xsltwin32config.h: 8a3a4b0359659042a66603eb59cc4001 -lib/libexslt.lib: 0c9f94aeea183a48ec62d6e1a3ac42af -lib/libexslt_a.lib: 026a42ff0b36660c1bd4890b656c80ee -lib/libxslt.lib: 084d078777bf34d52af7fc93a425d6b0 -lib/libxslt_a.lib: a07434cb5a40a32a17be58f71fe24976 diff --git a/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.txt b/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.txt index fe3c3e96..30979954 100644 --- a/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.txt +++ b/coin/provisioning/qtci-windows-10-x86_64/conanfiles/qtwebkit.txt @@ -1,5 +1,5 @@ [requires] -icu/57.1@vitallium/stable +icu/59.1@vitallium/stable libxml2/2.9.4@vitallium/stable libxslt/1.1.29@vitallium/stable diff --git a/coin/provisioning/qtci-windows-10-x86_64/msvc.ps1 b/coin/provisioning/qtci-windows-10-x86_64/msvc.ps1 new file mode 100644 index 00000000..1de57a66 --- /dev/null +++ b/coin/provisioning/qtci-windows-10-x86_64/msvc.ps1 @@ -0,0 +1,43 @@ +############################################################################# +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the provisioning scripts of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:LGPL21$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. For further +## information use the contact form at http://www.qt.io/contact-us. +## +## GNU Lesser General Public License Usage +## Alternatively, this file may be used under the terms of the GNU Lesser +## General Public License version 2.1 or version 3 as published by the Free +## Software Foundation and appearing in the file LICENSE.LGPLv21 and +## LICENSE.LGPLv3 included in the packaging of this file. Please review the +## following information to ensure the GNU Lesser General Public License +## requirements will be met: https://www.gnu.org/licenses/lgpl.html and +## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +## +## As a special exception, The Qt Company gives you certain additional +## rights. These rights are described in The Qt Company LGPL Exception +## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +## +## $QT_END_LICENSE$ +## +############################################################################# + +# Visual Studios are pre-provisioned to tier1 images + +# MSVC 2015 Update 3 +echo "Visual Studio 2015 = Version 14.0.25421.3 Update 3" >> ~\versions.txt + +# MSVC 2017 +echo "Visual Studio 2017 = Version 15.1 (26403.7)" >> ~\versions.txt + +# MSVC 2017 Build Tools +echo "Visual Studio 2017 Build Tools = Version 15.1 (26403.7)" >> ~\versions.txt diff --git a/coin/provisioning/qtci-windows-10-x86_64/msvc_2015_update3_patch.ps1 b/coin/provisioning/qtci-windows-10-x86_64/msvc_2015_update3_patch.ps1 index f16b5ef4..37af7119 100644 --- a/coin/provisioning/qtci-windows-10-x86_64/msvc_2015_update3_patch.ps1 +++ b/coin/provisioning/qtci-windows-10-x86_64/msvc_2015_update3_patch.ps1 @@ -30,21 +30,5 @@ ## $QT_END_LICENSE$ ## ############################################################################# -. "$PSScriptRoot\..\common\helpers.ps1" +. "$PSScriptRoot\..\common\msvc_2015_update3_patch.ps1" -# Install Cumulative Servicing Release Visual Studio 2015 update 3 -# Original download page: https://msdn.microsoft.com/en-us/library/mt752379.aspx -# http://ci-files01-hki.ci.local/input/windows/vs14-kb3165756.exe - -$version = "2015 update3 (KB3165756)" -$package = "C:\Windows\Temp\vs14-kb3165756.exe" -$url_cache = "http://ci-files01-hki.ci.local/input/windows/vs14-kb3165756.exe" -$url_official = "http://go.microsoft.com/fwlink/?LinkID=816878" -$sha1 = "6a21d9b291ca75d44baad95e278fdc0d05d84c02" - -echo "Fetching patch for Visual Studio $version..." -Download $url_official $url_cache $package -Verify-Checksum $package $sha1 -echo "Installing patch for Visual Studio $version..." -cmd /c "$package /norestart /Quiet" -remove-item $package diff --git a/coin/provisioning/qtci-windows-10-x86_64/mysql.ps1 b/coin/provisioning/qtci-windows-10-x86_64/mysql.ps1 index 5e75f662..56b78f47 100644 --- a/coin/provisioning/qtci-windows-10-x86_64/mysql.ps1 +++ b/coin/provisioning/qtci-windows-10-x86_64/mysql.ps1 @@ -37,76 +37,52 @@ # Both x86 and x64 versions needed when x86 integrations are done on x64 machine $version = "5.6.11" -$packagex64 = "C:\Windows\temp\mysql-$version-win64.zip" +$packagex64 = "C:\Windows\temp\mysql-$version-winx64.zip" $packagex86 = "C:\Windows\temp\mysql-$version-win32.zip" -function CheckAndRemovePreviousInstallation -{ - Param ( - [string]$InstallFolder - ) - echo "Check for previous installation..." - $FolderExists = Test-Path $ExistingInstallation - If ($FolderExists -eq $True) { - echo "Removing previous installation ($ExistingInstallation)" - Remove-Item $ExistingInstallation -recurse - } -} - function DownloadAndInstall { Param ( - [string]$arch, - [string]$externalUrl, [string]$internalUrl, [string]$package, - [string]$sha1, [string]$installPath ) - echo "Fetching from URL ..." - Download $externalUrl $internalUrl $package - Verify-Checksum $package $sha1 - Extract-Zip $package $installPath + echo "Fetching from URL ..." + Copy-Item $internalUrl $package + + $zipDir = [io.path]::GetFileNameWithoutExtension($package) + Extract-Dev-Folders-From-Zip $package $zipDir $installPath + + Remove-Item $package } +# Remove any leftovers +try { + Rename-Item -ErrorAction 'Stop' c:\utils\my_sql c:\utils\mysql_deleted +} catch {} + # Install x64 bit version $architecture = "x64" -$installFolder = "C:\Utils\my_sql" -$existingInstallation = "$installFolder\my_sql" -$internalUrl = "http://ci-files01-hki.ci.local/input/windows/mysql-$version-winx64" -$sha1 = "f4811512b5f3c8ad877ee4feba2062312a0acc38" +$installFolder = "C:\Utils\my_sql\my_sql" +$internalUrl = "\\ci-files01-hki.ci.local\provisioning\windows\mysql-$version-winx64.zip" -echo "Check and remove previous installation ..." -CheckAndRemovePreviousInstallation $existingInstallation -DownloadAndInstall $architecture $internalUrl $internalUrl $packagex64 $sha1 $installFolder -Rename-Item -path $installFolder\mysql-$version-winx64 -newName $installFolder\my_sql - -echo "Remove downloaded package ..." -Remove-Item $packagex64 +DownloadAndInstall $internalUrl $packagex64 $installFolder echo "Set environment variables ..." -[Environment]::SetEnvironmentVariable("MYSQL_INCLUDE_x64", "$installFolder\my_sql\include", "Machine") -[Environment]::SetEnvironmentVariable("MYSQL_LIB_x64", "$installFolder\my_sql\lib", "Machine") +[Environment]::SetEnvironmentVariable("MYSQL_INCLUDE_x64", "$installFolder\include", "Machine") +[Environment]::SetEnvironmentVariable("MYSQL_LIB_x64", "$installFolder\lib", "Machine") # Install x86 bit version $architecture = "x86" -$installFolder = "C:\Utils\my_sql$architecture" -$existingInstallation = "$installFolder\my_sql" -$internalUrl = "http://ci-files01-hki.ci.local/input/windows/mysql-$version-win32" -$sha1 = "e0aa62d5c5d6c6ec28906a831752d04336562679" - -echo "Check and remove previous installation ..." -CheckAndRemovePreviousInstallation $existingInstallation -DownloadAndInstall $architecture $internalUrl $internalUrl $packagex86 $sha1 $installFolder -Rename-Item -path $installFolder\mysql-$version-win32 -newName $installFolder\my_sql +$installFolder = "C:\Utils\my_sql\my_sql$architecture" +$internalUrl = "\\ci-files01-hki.ci.local\provisioning\windows\mysql-$version-win32.zip" -echo "Remove downloaded package ..." -Remove-Item $packagex86 +DownloadAndInstall $internalUrl $packagex86 $installFolder echo "Set environment variables ..." -[Environment]::SetEnvironmentVariable("MYSQL_INCLUDE_x86", "$installFolder\my_sql\include", "Machine") -[Environment]::SetEnvironmentVariable("MYSQL_LIB_x86", "$installFolder\my_sql\lib", "Machine") +[Environment]::SetEnvironmentVariable("MYSQL_INCLUDE_x86", "$installFolder\include", "Machine") +[Environment]::SetEnvironmentVariable("MYSQL_LIB_x86", "$installFolder\lib", "Machine") # Store version information to ~/versions.txt, which is used to print version information to provision log. echo "MySQL = $version" >> ~/versions.txt diff --git a/coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1 b/coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1 index 079f26c3..fa2c753a 100644 --- a/coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1 +++ b/coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1 @@ -40,7 +40,7 @@ $openglPackage = "C:\Windows\SysWOW64\opengl32.dll" $mesaOpenglUrl = "http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-32-mesa_$version.7z" $mesaOpenglSha1 = "e742e9d4e16b9c69b6d844940861d3ef1748356b" -$openglUrl = "http://ci-files01-hki.ci.local/input/mesa3d/windows/32bit/opengl32.dll" +$openglUrl = "\\ci-files01-hki.ci.local\provisioning\mesa3d\windows\32bit\opengl32.dll" $openglSha1 = "690730f973aa39bd80648e026248394fde07a753" Invoke-WebRequest -UseBasicParsing $mesaOpenglUrl -OutFile $package diff --git a/coin/provisioning/qtci-windows-10-x86_64/openssl.ps1 b/coin/provisioning/qtci-windows-10-x86_64/openssl.ps1 index 35340ca7..cd0115d2 100644 --- a/coin/provisioning/qtci-windows-10-x86_64/openssl.ps1 +++ b/coin/provisioning/qtci-windows-10-x86_64/openssl.ps1 @@ -44,7 +44,7 @@ $packagex86 = "C:\Windows\Temp\Win32OpenSSL-$version.exe" $architecture = "x64" $installFolder = "C:\openssl" $externalUrl = "https://slproweb.com/download/Win64OpenSSL-$version.exe" -$internalUrl = "http://ci-files01-hki.ci.local/input/openssl/Win64OpenSSL-$version.exe" +$internalUrl = "\\ci-files01-hki.ci.local\provisioning\openssl\Win64OpenSSL-$version.exe" $sha1 = "b1660dbdcc77e1b3d81d780c7167be1c75384d44" echo "Fetching from URL ..." @@ -65,7 +65,7 @@ echo "Set $architecture environment variables ..." $architecture = "x86" $installFolder = "C:\openssl$architecture" $externalUrl = "https://slproweb.com/download/Win32OpenSSL-$version.exe" -$internalUrl = "http://ci-files01-hki.ci.local/input/openssl/Win32OpenSSL-$version.exe" +$internalUrl = "\\ci-files01-hki.ci.local\provisioning\openssl\Win32OpenSSL-$version.exe" $sha1 = "29b31d20545214ab4e4c57afb20be2338c317cc3" echo "Fetching from URL ..." diff --git a/coin/provisioning/qtci-windows-10-x86_64/postgresql.ps1 b/coin/provisioning/qtci-windows-10-x86_64/postgresql.ps1 index 9b1d5d4e..b73c3778 100644 --- a/coin/provisioning/qtci-windows-10-x86_64/postgresql.ps1 +++ b/coin/provisioning/qtci-windows-10-x86_64/postgresql.ps1 @@ -42,43 +42,48 @@ $packagex86 = "C:\Windows\temp\postgresql-$version-windows-binaries.zip" # Install x64 bit versions $architecture = "x64" -$installFolder = "C:\Utils\postgresql" +$installFolder = "C:\Utils\postgresql\pgsql" $externalUrl = "http://get.enterprisedb.com/postgresql/postgresql-$version-windows-x64-binaries.zip" -$internalUrl = "http://ci-files01-hki.ci.local/input/windows/postgresql-$version-windows-x64-binaries.zip" +$internalUrl = "\\ci-files01-hki.ci.local\provisioning\windows\postgresql-$version-windows-x64-binaries.zip" $sha1 = "4da0453cdfda335e064d4437cf5bb9d356054cfd" +# Delete any leftovers +try { + Rename-Item -ErrorAction 'Stop' c:\utils\postgresql c:\utils\postgresql-deleted +} catch {} + echo "Fetching from URL ..." Download $externalUrl $internalUrl $packagex64 Verify-Checksum $packagex64 $sha1 echo "Installing $packagex64 ..." -Extract-Zip $packagex64 $installFolder +Extract-Dev-Folders-From-Zip $packagex64 "pgsql" $installFolder echo "Remove downloaded $packagex64 ..." Remove-Item $packagex64 echo "Set $architecture environment variables ..." -[Environment]::SetEnvironmentVariable("POSTGRESQL_INCLUDE_x64", "$installFolder\pgsql\include", "Machine") -[Environment]::SetEnvironmentVariable("POSTGRESQL_LIB_x64", "$installFolder\pgsql\lib", "Machine") +[Environment]::SetEnvironmentVariable("POSTGRESQL_INCLUDE_x64", "$installFolder\include", "Machine") +[Environment]::SetEnvironmentVariable("POSTGRESQL_LIB_x64", "$installFolder\lib", "Machine") # Install x86 bit version $architecture = "x86" -$installFolder = "C:\Utils\postgresql$architecture" +$installFolder = "C:\Utils\postgresql$architecture\pgsql" $externalUrl = "http://get.enterprisedb.com/postgresql/postgresql-$version-windows-binaries.zip" -$internalUrl = "http://ci-files01-hki.ci.local/input/windows/postgresql-$version-windows-binaries.zip" +$internalUrl = "\\ci-files01-hki.ci.local\provisioning\windows\postgresql-$version-windows-binaries.zip" $sha1 = "eb4f01845e1592800edbb74f60944b6c0aca51a9" echo "Fetching from URL..." Download $externalUrl $internalUrl $packagex86 Verify-Checksum $packagex86 $sha1 echo "Installing $packagex86 ..." -Extract-Zip $packagex86 $installFolder +Extract-Dev-Folders-From-Zip $packagex86 "pgsql" $installFolder echo "Remove downloaded $packagex86 ..." Remove-Item $packagex86 echo "Set $architecture environment variables ..." -[Environment]::SetEnvironmentVariable("POSTGRESQL_INCLUDE_x86", "$installFolder\pgsql\include", "Machine") -[Environment]::SetEnvironmentVariable("POSTGRESQL_LIB_x86", "$installFolder\pgsql\lib", "Machine") +[Environment]::SetEnvironmentVariable("POSTGRESQL_INCLUDE_x86", "$installFolder\include", "Machine") +[Environment]::SetEnvironmentVariable("POSTGRESQL_LIB_x86", "$installFolder\lib", "Machine") # Store version information to ~/versions.txt, which is used to print version information to provision log. echo "PostgreSQL = $version" >> ~/versions.txt |