Skip to content

Commit

Permalink
CI: C++ only, python CI will be split into separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Jun 29, 2023
1 parent ec17155 commit b8b1221
Showing 1 changed file with 11 additions and 25 deletions.
36 changes: 11 additions & 25 deletions .github/workflows/colibri-core.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b8b1221

Please sign in to comment.