Skip to content

Commit de5c806

Browse files
committed
Fix broken OS X CI build (#239)
1 parent a89a290 commit de5c806

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Check deployment as cmake subdirectory
3939
run: script/ci_testdeploy.sh -DINFLUXCXX_AS_SUBDIR=ON -DINFLUXCXX_WITH_BOOST=${{ matrix.boost }}
4040
- name: Install
41-
run: cmake --build build --target install
41+
run: cmake --install build
4242
- name: Check installed library
4343
run: script/ci_testdeploy.sh -DINFLUXCXX_AS_SUBDIR=OFF
4444

@@ -80,7 +80,7 @@ jobs:
8080
export CL="/ID:\a\influxdb-cxx\influxdb-cxx\build\host\libcurl\7.87.0\Release\x86_64\include"
8181
script/ci_build.sh -DBUILD_SHARED_LIBS=OFF -DCMAKE_CXX_FLAGS_INIT=-D_WIN32_WINNT=0x0A00
8282
- name: Install
83-
run: cmake --build --preset conan-release --target install
83+
run: cmake --install build --preset conan-release
8484

8585

8686
build_osx:
@@ -97,15 +97,15 @@ jobs:
9797
run: |
9898
export HOMEBREW_NO_AUTO_UPDATE=1
9999
export HOMEBREW_NO_INSTALL_CLEANUP=1
100-
pip3 install -U conan
101100
brew install boost
101+
pipx install conan
102102
conan profile detect
103103
mkdir build
104104
conan install -o "influxdb_cxx/*":system=True -o "influxdb_cxx/*":tests=True -s compiler.cppstd=20 --build=missing . -of build
105105
- name: Build
106106
run: script/ci_build.sh
107107
- name: Install
108-
run: cmake --build build --target install
108+
run: cmake --install ./build --prefix /tmp/ci_ifdb
109109

110110

111111
formatting-check:

0 commit comments

Comments
 (0)