Skip to content

Commit

Permalink
trying to get a mingw build on appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
onqtam committed Sep 21, 2016
1 parent ef53593 commit 63447e2
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 5 deletions.
39 changes: 38 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,13 @@ environment:
arch: "x64"
VS_GEN: " Win64"

install:
- appveyor DownloadFile http://downloads.sourceforge.net/mingw-w64/x86_64-6.1.0-release-posix-seh-rt_v5-rev0.7z
- 7z x x86_64-6.1.0-release-posix-seh-rt_v5-rev0.7z > nul
- set PATH=%PATH%;mingw64\bin

build_script:
# 2008 IS ENABLED ONLY FOR x86 BECAUSE CMAKE CANNOT FIND THE COMPILER FOR Win64
# ============= 2008 IS ENABLED ONLY FOR x86 BECAUSE CMAKE CANNOT FIND THE COMPILER FOR Win64
- IF "%arch%" == "Win32" mkdir 2008
- IF "%arch%" == "Win32" cd 2008
- IF "%arch%" == "Win32" set gen=Visual Studio 9 2008%VS_GEN%
Expand Down Expand Up @@ -79,3 +84,35 @@ build_script:
- msbuild all.sln /p:Configuration=%Configuration%;Platform=%arch% /maxcpucount
- ctest -C %configuration% --output-on-failure
- cd ..
# ============= MINGW - always 64 bit
- mkdir gcc6
- cd gcc6
- cmake .. -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=%Configuration%
- cmake --build .
- ctest --output-on-failure
- cd ..

























5 changes: 1 addition & 4 deletions scripts/random_dev_notes.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
mingw on appveyor - https://github.com/boost-experimental/di/blob/cpp14/.appveyor.yml
https://github.com/boostorg/hana/blob/master/.appveyor.yml

- llvm - https://github.com/boostorg/hana/commit/f08e824a34cc4e6e850fee285f3d182f95440f60
https://github.com/boost-experimental/di/blob/cpp14/.travis.yml

- patreon

- mocking - google mock assertion macros
Expand All @@ -14,7 +11,7 @@ https://github.com/boost-experimental/di/blob/cpp14/.travis.yml

- add underscores to all preprocessor identifiers not intended for use by the user

- users.md - projects that use doctest


- tests in a static library without the implementation there - problematic

Expand Down

0 comments on commit 63447e2

Please sign in to comment.