Skip to content

Commit

Permalink
Simplify conan install in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
offa committed Jun 27, 2024
1 parent 2db6ff6 commit 5c11926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
conan profile detect
echo "tools.cmake.cmaketoolchain:generator=Ninja" >> ~/.conan2/global.conf
mkdir build
conan install -o "influxdb_cxx/*":boost=${{ matrix.boost }} -o "influxdb_cxx/*":tests=True -s compiler.cppstd=20 --build=missing . -of build
conan install -o "&:boost=${{ matrix.boost }}" -o "&:tests=True" -s compiler.cppstd=20 --build=missing . -of build
conan install --build=missing -of build --requires "libcurl/7.87.0" --deployer full_deploy
- name: Build
run: |
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
pipx install conan
conan profile detect
mkdir build
conan install -o "influxdb_cxx/*":system=True -o "influxdb_cxx/*":tests=True -s compiler.cppstd=20 --build=missing . -of build
conan install -o "&:system=True" -o ":tests=True" -s compiler.cppstd=20 --build=missing . -of build
- name: Build
run: script/ci_build.sh
- name: Install
Expand Down

0 comments on commit 5c11926

Please sign in to comment.