Skip to content

Commit bc3b9a3

Browse files
authored
Add Mac OS X build to Travis CI script (#18)
1 parent 9a41f54 commit bc3b9a3

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

.travis.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
language: cpp
2-
dist: xenial
3-
os: linux
4-
compiler:
5-
- gcc
2+
3+
branches:
4+
only:
5+
- master
6+
67
matrix:
78
include:
89
- os: linux
10+
dist: xenial
11+
compiler: gcc
912
addons:
1013
apt:
1114
sources:
@@ -14,9 +17,8 @@ matrix:
1417
- g++-7
1518
env:
1619
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
17-
branches:
18-
only:
19-
- master
20+
- os: osx
21+
osx_image: xcode10.1
2022

2123
before_install:
2224
- eval "${MATRIX_EVAL}"

modules/virt86/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@ elseif(LINUX)
127127
endif()
128128
target_link_libraries(virt86 PUBLIC virt86::virt86-kvm)
129129
elseif(APPLE)
130-
if(TARGET virt86-hvf)
131-
add_library(virt86::virt86-hvf ALIAS virt86-hvf)
132-
else()
133-
find_package(virt86-hvf CONFIG REQUIRED)
134-
endif()
135130
# TODO: Add support for Hypervisor.Framework
131+
#if(TARGET virt86-hvf)
132+
# add_library(virt86::virt86-hvf ALIAS virt86-hvf)
133+
#else()
134+
# find_package(virt86-hvf CONFIG REQUIRED)
135+
#endif()
136136
#target_link_libraries(virt86 PUBLIC virt86::virt86-hvf)
137137
endif()
138138

0 commit comments

Comments
 (0)