Skip to content

Commit

Permalink
Merge pull request #255 from offa/ci/fix_python
Browse files Browse the repository at this point in the history
Fix Python and Boost CI installation issues
  • Loading branch information
offa authored Aug 7, 2024
2 parents 8caa570 + 7706375 commit 6ec610a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
- name: Install Boost
if: ${{ matrix.boost == true }}
run: |
add-apt-repository ppa:nicola-onorata/toolchain
add-apt-repository ppa:mhier/libboost-latest
apt-get update
apt-get install -y boost1.81
apt-get install -y boost1.83
- name: Build
run: script/ci_build.sh -DINFLUXCXX_WITH_BOOST=${{ matrix.boost }}
- name: Check deployment as cmake subdirectory
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/systemtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
- name: Setup
run: |
script/ci_setup.sh
add-apt-repository ppa:nicola-onorata/toolchain
add-apt-repository ppa:mhier/libboost-latest
apt-get update
apt-get install -y boost1.81
apt-get install -y boost1.83
- name: Build
run: |
cmake --preset conan-release
Expand Down
9 changes: 5 additions & 4 deletions script/ci_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

set -ex

export DEBIAN_FRONTEND=noninteractive
export PATH=$HOME/.local/bin:$PATH
apt-get update
apt-get install -y python3-pip libssl-dev libcurl4-openssl-dev
pip3 install -U conan
apt-get install -y pipx
pipx install conan
conan profile detect

mkdir -p build && cd build

conan profile detect

if [[ "${CXX}" == clang* ]]
then
STDLIB_ENV="CXXFLAGS=\"-stdlib=libc++\""
Expand Down
1 change: 1 addition & 0 deletions script/ci_testdeploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set -ex
PID=$$
BASEPATH=/tmp/influx-test-${PID}
BUILD_TYPE="Release"
export PATH=$HOME/.local/bin:$PATH

echo "perform deployment test in ${BASEPATH}"
mkdir -p ${BASEPATH}/influxdb-cxx
Expand Down

0 comments on commit 6ec610a

Please sign in to comment.