Skip to content

Fix CopyCohort segfault (fixes #147) #222

Fix CopyCohort segfault (fixes #147)

Fix CopyCohort segfault (fixes #147) #222

Workflow file for this run

name: CG-3 CI Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: dependencies
run: |
sudo apt-get -qy update
sudo apt-get -qfy install --no-install-recommends libboost-dev libicu-dev cmake build-essential perl python3-dev python3-setuptools swig
- name: cmake
run: cmake -DENABLE_PYTHON_BINDINGS=ON .
- name: build
run: cmake --build . -v -j 4
- name: test
run: ctest -V
- name: test suite
run: ./test/runall.pl
- name: install
run: sudo cmake --install .
- name: test python
run: |
sudo ldconfig
python3 -c "import constraint_grammar; print(dir(constraint_grammar))"
python3 -c "import cg3; print(dir(cg3))"