Skip to content

Commit

Permalink
Add CMake builds for Wercker CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mogemimi committed Jul 21, 2018
1 parent 7fea01b commit 384e488
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion wercker.yml
Expand Up @@ -9,7 +9,7 @@ build:
git clone --depth=1 https://chromium.googlesource.com/external/gyp.git tools/gyp
- script:
name: unittest
name: unittest-gyp
code: |
python tools/gyp.py test/FrameworkTest/unittest.gyp -f make
export CC=clang
Expand All @@ -19,3 +19,18 @@ build:
export LDFLAGS="-stdlib=libc++"
make -C build.makefiles
./build.makefiles/out/Release/unittest
- script:
name: unittest-cmake
code: |
export CC=clang
export CXX=clang++
export LINK=clang++
export CXXFLAGS="-std=c++17 -stdlib=libc++"
export LDFLAGS="-stdlib=libc++"
mkdir build.cmake
cd build.cmake
cmake ..
make
cd ..
./build.cmake/build/PomdogTest/PomdogTest

0 comments on commit 384e488

Please sign in to comment.