Travis has been dead for years, so switch to GitHub actions #1
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: libdivvun 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 autotools-dev gawk hfst-ospell-dev libarchive-dev libcg3-dev libhfst-dev libpugixml-dev libutfcpp-dev libxml2-utils pkg-config python3-dev python3-setuptools swig zip | |
- name: autoreconf | |
run: autoreconf -fvi | |
- name: configure | |
run: ./configure --enable-checker --enable-cgspell --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 |