From 1c4ee6177aa3dd85133cfe3a37380799afa970dd Mon Sep 17 00:00:00 2001 From: Pascal Thomet Date: Tue, 30 Jan 2024 17:30:48 +0100 Subject: [PATCH] CI: cpp_lib_with_bindings / install pybind11 --- .github/workflows/cpp_lib_with_bindings.yml | 11 ++--------- requirements-dev.txt | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cpp_lib_with_bindings.yml b/.github/workflows/cpp_lib_with_bindings.yml index 1df806a2..ea3fd83a 100644 --- a/.github/workflows/cpp_lib_with_bindings.yml +++ b/.github/workflows/cpp_lib_with_bindings.yml @@ -30,16 +30,9 @@ jobs: - name: install xorg-dev on ubuntu run: ./ci_scripts/install_xorg_dev.sh - # Install conan & pybind11 - - name: install conan and pybind11 (linux and ubuntu) - if: ${{ matrix.platform != 'windows-latest' }} - run: ./ci_scripts/install_conan_pybind11.sh - - name: install conan and pybind11 (windows) - if: ${{ matrix.platform == 'windows-latest' }} + - name: install pybind11 run: | - python3 -m pip install conan - conan profile new default --detect - python3 -m pip install pybind11 + pip install pybind11 - name: Build and install shell: bash diff --git a/requirements-dev.txt b/requirements-dev.txt index 0089840c..3528c138 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,5 +2,5 @@ black litgen @ git+https://github.com/pthom/litgen mypy opencv-contrib-python +pybind11 pytest -