From b8b12218c376e626ca164a5af95ed58c8f26dd86 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Thu, 29 Jun 2023 13:10:57 +0200 Subject: [PATCH] CI: C++ only, python CI will be split into separate job --- .github/workflows/colibri-core.yml | 36 +++++++++--------------------- 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/.github/workflows/colibri-core.yml b/.github/workflows/colibri-core.yml index f40492e..c73cf57 100644 --- a/.github/workflows/colibri-core.yml +++ b/.github/workflows/colibri-core.yml @@ -1,12 +1,11 @@ -name: C/C++/Cython/Python CI +name: C/C++ CI on: push: branches: [master] paths: - - '*.py' - - '*.pyx' - - '*.pxd' + - 'src/*' + - 'include/*' - '.github/**' pull_request: @@ -40,33 +39,20 @@ jobs: if [ "$RUNNER_OS" == "Linux" ]; then sudo apt-get install pkg-config autoconf-archive fi - - name: Install Dependencies - run: | - if [ "$RUNNER_OS" == "Linux" ]; then - sudo apt-get install python3 cython3 python3-lxml python3-pip - fi - - - name: build and install Colibri-Core - env: - CXX: ${{ matrix.compiler }} - run: sudo pip3 install --prefix /usr/local/ . - - name: check + - name: Build and install Colibri-Core env: CXX: ${{ matrix.compiler }} - run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib colibri-test - continue-on-error: true - - - name: check-python - env: - CXX: ${{ matrix.compiler }} - run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib python test.py - continue-on-error: true + run: | + bash bootstrap + ./configure + make + sudo make install - - name: check-python-2 + - name: test env: CXX: ${{ matrix.compiler }} - run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib cd exp && ./colibri-patternmodeller-test.sh + run: colibri-test continue-on-error: true - name: Notify IRC of failure