CMake instead of autotools; Windows fixes; Snip superfluous files, an… #602
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: Lttoolbox CI Build | |
on: [push, pull_request] | |
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 build-essential cmake pkg-config libutfcpp-dev libxml2-dev libxml2-utils python3-dev python3-setuptools swig | |
- name: configure | |
run: cmake -DENABLE_PYTHON_BINDINGS=ON . | |
- name: build | |
run: make -j4 V=1 VERBOSE=1 | |
- name: tests | |
run: make test | |
- name: make install | |
run: sudo make install |