Use FindPython instead of FindPythonInterp for CMake >= 3.12.0 (fixes… #189
Workflow file for this run
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 . |