Skip to content

Commit

Permalink
Merge pull request #93 from MikaelSmith/rebuild-appveyor
Browse files Browse the repository at this point in the history
(maint) Rebuild AppVeyor artifacts, release as 0.1.6
  • Loading branch information
MikaelSmith authored Sep 15, 2017
2 parents 87ab456 + 9a7a918 commit 6962e7d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 23 deletions.
Empty file removed .gitmodules
Empty file.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.2.2)
# Project Setup - modify to match project naming
## Source code for a simple command-line executable for a dynamic library will be generated from the project name.
## The command-line and library names will be based off the project name.
project(cpp-hocon VERSION 0.1.5)
project(cpp-hocon VERSION 0.1.6)

string(MAKE_C_IDENTIFIER ${PROJECT_NAME} PROJECT_C_NAME)
string(TOUPPER ${PROJECT_C_NAME} PROJECT_NAME_UPPER)
Expand Down
41 changes: 20 additions & 21 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
environment:
LEATHERMAN_VERSION: 0.9.0
install:
- git submodule update --init --recursive

- choco install -y mingw-w64 -Version 4.8.3 -source https://www.myget.org/F/puppetlabs
- choco install -y cmake -Version 3.2.2 -source https://www.myget.org/F/puppetlabs
- choco install -y gettext -Version 0.19.6 -source https://www.myget.org/F/puppetlabs
- SET PATH=C:\Ruby21-x64\bin;C:\tools\mingw64\bin;C:\Program Files\gettext-iconv;%PATH%
- ps: $env:PATH = $env:PATH.Replace("Git\bin", "Git\cmd")
- ps: $env:PATH = $env:PATH.Replace("Git\usr\bin", "Git\cmd")

- ps: wget 'https://s3.amazonaws.com/kylo-pl-bucket/boost_1_58_0-x86_64_mingw-w64_4.8.3_win32_seh.7z' -OutFile "$pwd\boost.7z"
- ps: 7z.exe x boost.7z -oC:\tools | FIND /V "ing "
LEATHERMAN_VERSION: 1.2.1
init:
- |
choco install -y mingw-w64 -Version 5.2.0 -source https://www.myget.org/F/puppetlabs
choco install -y cmake -Version 3.2.2 -source https://www.myget.org/F/puppetlabs
choco install -y gettext -Version 0.19.6 -source https://www.myget.org/F/puppetlabs
choco install -y pl-toolchain-x64 -Version 2015.12.01.1 -source https://www.myget.org/F/puppetlabs
choco install -y pl-boost-x64 -Version 1.58.0.2 -source https://www.myget.org/F/puppetlabs
choco install -y pl-curl-x64 -Version 7.46.0.1 -source https://www.myget.org/F/puppetlabs
- ps: |
wget "https://github.com/puppetlabs/leatherman/releases/download/$env:LEATHERMAN_VERSION/leatherman.7z" -OutFile "$env:temp\leatherman.7z"
7z.exe x $env:temp\leatherman.7z -oC:\tools | FIND /V "ing "
- ps: wget 'https://s3.amazonaws.com/kylo-pl-bucket/curl-7.42.1-x86_64_mingw-w64_4.8.3_win32_seh.7z' -OutFile "$pwd\curl-7.42.1-x86_64_mingw-w64_4.8.3_win32_seh.7z"
- ps: 7z.exe x "curl-7.42.1-x86_64_mingw-w64_4.8.3_win32_seh.7z" -oC:\tools | FIND /V "ing "

- ps: wget "https://github.com/puppetlabs/leatherman/releases/download/$env:LEATHERMAN_VERSION/leatherman.7z" -OutFile "$pwd\leatherman.7z"
- ps: 7z.exe x leatherman.7z -oC:\tools | FIND /V "ing "
install:
# Minimize environment polution; previously we were linking against the wrong OpenSSL DLLs.
# Include Ruby and Powershell for unit tests.
- SET PATH=C:\tools\pl-build-tools\bin;C:\tools\mingw64\bin;C:\ProgramData\chocolatey\bin;C:\Ruby22-x64\bin;C:\Program Files\7-Zip;C:\Windows\system32;C:\Windows;C:\Windows\System32\WindowsPowerShell\v1.0

build_script:
- ps: cmake -G "MinGW Makefiles" -DBOOST_ROOT="C:\tools\boost_1_58_0-x86_64_mingw-w64_4.8.3_win32_seh" -DCMAKE_PREFIX_PATH="C:\tools\leatherman;C:\tools\curl-7.42.1-x86_64_mingw-w64_4.8.3_win32_seh" -DCURL_STATIC=ON -DBOOST_STATIC=ON -Wno-dev -DCMAKE_INSTALL_PREFIX=C:\tools\cpp-hocon .
- ps: mingw32-make install
- ps: 7z.exe a -t7z cpp-hocon.7z C:\tools\cpp-hocon\
- ps: |
cmake -G "MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE="C:\tools\pl-build-tools\pl-build-toolchain.cmake" -DCMAKE_PREFIX_PATH="C:\tools\leatherman" -DCMAKE_INSTALL_PREFIX=C:\tools\cpp-hocon -DBOOST_STATIC=ON .
mingw32-make install
7z.exe a -t7z cpp-hocon.7z C:\tools\cpp-hocon\
test_script:
- ps: ctest -V 2>&1 | %{ if ($_ -is [System.Management.Automation.ErrorRecord]) { $_ | c++filt } else { $_ } }
Expand Down
2 changes: 1 addition & 1 deletion locales/cpp-hocon.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: cpp-hocon 0.1.2\n"
"Project-Id-Version: cpp-hocon 0.1.6\n"
"Report-Msgid-Bugs-To: docs@puppet.com\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
Expand Down

0 comments on commit 6962e7d

Please sign in to comment.