Skip to content

Commit

Permalink
[appveyor | macOS] disable precise timer fix #131
Browse files Browse the repository at this point in the history
  • Loading branch information
Raffaello committed May 17, 2020
1 parent b33c25b commit 6fc477b
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ configuration:
environment:
VCPKG_SCRIPT: scripts/buildsystems/vcpkg.cmake
ENABLE_CODE_COVERAGE: OFF
HAVE_PRECISE_TIMER: ON

matrix:
allow_failures:
Expand Down Expand Up @@ -47,7 +48,7 @@ for:
environment:
WS: /Users/appveyor/projects
TRIPLET: $PLATFORM-osx
# ENABLE_CODE_COVERAGE: ON
HAVE_PRECISE_TIMER: OFF
cache:
#- $WS/vcpkg
- $WS/vcpkg/installed
Expand All @@ -56,20 +57,8 @@ for:
- sh: brew install p7zip #lcov
- sh: cd $WS && git clone https://github.com/Microsoft/vcpkg.git
- sh: cd $APPVEYOR_BUILD_FOLDER
# /Library/Developer/CommandLineTools/usr/bin/llvm-cov
#- sh: sudo find / -name llvm-cov 2> /dev/null
#- sh: llvm-cov --help
test_script:
- sh: ctest -V
#- sh: find . -name *.gcda
#- sh: echo '#!/bin/bash' > g.sh
#- sh: echo 'exec /Library/Developer/CommandLineTools/usr/bin/llvm-cov gcov "$@"' >> g.sh
#- sh: chmod +x g.sh
#- sh: ./g.sh -f -b -u $(find . -name *.gcda)
#- sh: lcov --directory . --base-directory . --gcov-tool ./g.sh --capture -o cov.info
#- sh: lcov --remove cov.info '/Applications/*' --output-file coverage.info
#- sh: lcov --list coverage.info
#- sh: bash <(curl -s https://codecov.io/bash) -f coverage.info -t b8f07100-6985-49f7-aa4c-14e36f29ac80

skip_commits:
files:
Expand All @@ -83,7 +72,6 @@ skip_commits:
cache:
- C:\tools\vcpkg\installed


install:
- cmd: if "%PLATFORM%" == "x64" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
- cmd: if "%PLATFORM%" == "x86" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
Expand All @@ -104,7 +92,7 @@ build_script:
- mkdir out
- cd out
- cmd: cmake -G "Ninja" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DWITH_SDL2_STATIC=OFF -DBUILD_SNAPSHOT=OFF -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/%VCPKG_SCRIPT% ..
- sh : cmake -DCMAKE_BUILD_TYPE=$CONFIGURATION -DWITH_SDL2_STATIC=ON -DBUILD_SNAPSHOT=OFF -DENABLE_CODE_COVERAGE=$ENABLE_CODE_COVERAGE -DCMAKE_TOOLCHAIN_FILE=$WS/vcpkg/$VCPKG_SCRIPT ..
- sh : cmake -DCMAKE_BUILD_TYPE=$CONFIGURATION -DWITH_SDL2_STATIC=ON -DBUILD_SNAPSHOT=OFF -DENABLE_CODE_COVERAGE=$ENABLE_CODE_COVERAGE -DHAVE_PRECISE_TIMER=$HAVE_PRECISE_TIMER -DCMAKE_TOOLCHAIN_FILE=$WS/vcpkg/$VCPKG_SCRIPT ..
- cmake --build .

test_script:
Expand Down

0 comments on commit 6fc477b

Please sign in to comment.