Implement --debug-rules (WIP issue #71); Fix indexSetToRule() with mi… #228
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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))" |