Pārlūkot izejas kodu

Install python, pip and conan for CI (#156).

main
offa pirms 5 gadiem
vecāks
revīzija
8610b6ad52
2 mainītis faili ar 7 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      conanfile.txt
  2. +6
    -0
      script/ci_build.sh

+ 1
- 1
conanfile.txt Parādīt failu

@@ -1,6 +1,6 @@
[requires]
Catch2/2.8.0@catchorg/stable
trompeloeil/v34@rollbear/stable
trompeloeil/v34@rollbear/stable

[generators]
cmake_find_package

+ 6
- 0
script/ci_build.sh Parādīt failu

@@ -2,12 +2,18 @@

set -ex

# Conan
apt-get install -y python3-pip
pip3 install conan


if [[ "${CXX}" == clang* ]]
then
export CXXFLAGS="-stdlib=libc++"
fi

mkdir build && cd build
conan install --build missing ..

cmake ..
make

Notiek ielāde…
Atcelt
Saglabāt