Skip to content

Commit

Permalink
BUG: disable the OpenH265 and x265 build on the CI, due to the depend…
Browse files Browse the repository at this point in the history
…ency of the compiler version.
  • Loading branch information
leochan2009 committed Aug 3, 2017
1 parent d543323 commit 396aa70
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 28 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ before_script:
- cd build

script:
- cmake -DOpenIGTLink_PROTOCOL_VERSION_3=ON -DOpenIGTLink_SUPERBUILD=OFF -DBUILD_VIDEOSTREAM=ON -DUSE_X265=ON -DUSE_OPENHEVC=ON -DBUILD_TESTING=ON ..
- cmake -DOpenIGTLink_PROTOCOL_VERSION_3=ON -DOpenIGTLink_SUPERBUILD=OFF -DBUILD_VIDEOSTREAM=ON -DUSE_VP9=ON -DBUILD_TESTING=ON ..
- make
- make test
#########################
Expand All @@ -51,7 +51,7 @@ script:
- cd ..
- mkdir SuperBuildTest
- cd SuperBuildTest
- cmake -DOpenIGTLink_PROTOCOL_VERSION_3=ON -DOpenIGTLink_SUPERBUILD=ON -DBUILD_VIDEOSTREAM=ON -DUSE_X265=ON -DUSE_OPENHEVC=ON -DBUILD_TESTING=ON ..
- cmake -DOpenIGTLink_PROTOCOL_VERSION_3=ON -DOpenIGTLink_SUPERBUILD=ON -DBUILD_VIDEOSTREAM=ON -DUSE_VP9=ON -DBUILD_TESTING=ON ..
- make
- cd OpenIGTLink-bin
- make test
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ ENDIF()
OPTION(BUILD_VIDEOSTREAM "Build the Video Stream." ON)
OPTION(USE_H264 "Link the OpenH264 tree." OFF)
OPTION(USE_VP9 "Link the VP9 tree." OFF)
OPTION(USE_X265 "Link the X265 tree." ON)
OPTION(USE_OPENHEVC "Link the OpenHevc tree." ON)
OPTION(USE_X265 "Link the X265 tree." OFF)
OPTION(USE_OPENHEVC "Link the OpenHevc tree." OFF)
SET(OpenIGTLink_LINK_H264 "0")
SET(OpenIGTLink_LINK_VP9 "0")
SET(OpenIGTLink_LINK_X265 "0")
Expand Down
26 changes: 2 additions & 24 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,7 @@ build_script:
- ps: |
mkdir build -Force | Out-Null
cd build
& cmake -G "$generator" -DOpenIGTLink_PROTOCOL_VERSION_3=ON ..
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}
& cmake --build . --config $env:CONFIGURATION
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}
mkdir build -Force | Out-Null
cd ..
mkdir TestBuild
cd TestBuild
& cmake -G "$generator" -DCMAKE_PREFIX_PATH:PATH=..\build ..\Testing
& cmake -G "$generator" -DOpenIGTLink_PROTOCOL_VERSION_3=ON -DOpenIGTLink_SUPERBUILD=OFF ..
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}
Expand All @@ -73,17 +61,7 @@ build_script:
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}
cd ..\build
& cmake -G "$generator" -DOpenIGTLink_PROTOCOL_VERSION_3=OFF ..
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}
& cmake --build . --config $env:CONFIGURATION
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}
cd ..\TestBuild
& cmake -G "$generator" -DCMAKE_PREFIX_PATH:PATH=..\build ..\Testing
cmake -G "$generator" -DOpenIGTLink_PROTOCOL_VERSION_3=OFF ..
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}
Expand Down

0 comments on commit 396aa70

Please sign in to comment.