Port apertium-filter-rules
to Python
#339
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: apertium 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 wget ca-certificates | |
wget -q https://apertium.projectjj.com/apt/install-nightly.sh -O - | sudo bash | |
sudo apt-get -qfy install --no-install-recommends build-essential automake autotools-dev flex pkg-config python3-lxml libicu-dev libutfcpp-dev libxml2-dev libxml2-utils lttoolbox-dev unzip xsltproc zip zipcmp python3-dev python3-setuptools swig | |
- name: autoreconf | |
run: autoreconf -fvi | |
- name: configure | |
run: ./configure --enable-python-bindings | |
- name: build | |
run: make -j4 V=1 VERBOSE=1 | |
- name: tests | |
run: make test V=1 VERBOSE=1 | |
- name: make install | |
run: sudo make install |