Skip to content

Squashed 'modules/core/dependency/python-ihm/' changes from 78f278840… #936

Squashed 'modules/core/dependency/python-ihm/' changes from 78f278840…

Squashed 'modules/core/dependency/python-ihm/' changes from 78f278840… #936

Workflow file for this run

name: CI
on: [push, pull_request]
env:
CXXFLAGS: "-fprofile-arcs -ftest-coverage"
jobs:
test:
name: "Python ${{ matrix.python-version }} / ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.10"]
os: [ubuntu-22.04]
compiler: [gcc]
env:
CC: ${{ matrix.compiler }}
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -qq libboost-all-dev swig libhdf5-dev libeigen3-dev \
cmake libcgal-dev libcgal-qt5-dev libcereal-dev \
libfftw3-dev libopencv-dev libgsl-dev libann-dev \
libprotobuf-dev protobuf-compiler \
libopenmpi-dev python3-dev python3-numpy python3-protobuf \
python3-nose python3-pip python3-biopython
pip3 install codecov
- name: Set up git
run: ./setup_git.py
- name: Build IMP
run: |
mkdir build
cd build
cmake .. -DUSE_PYTHON2=OFF -DCMAKE_CXX_FLAGS="${{ env.CXXFLAGS }}" -DCGAL_DIR=/usr/lib/x86_64-linux-gnu/cmake/CGAL/
make -k -j 2