Skip to content

Commit 6b26ec1

Browse files
committed
Travis has been dead for years, so switch to GitHub actions
1 parent 08d077b commit 6b26ec1

File tree

2 files changed

+25
-76
lines changed

2 files changed

+25
-76
lines changed

.github/workflows/build.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: libdivvun CI Build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: dependencies
11+
run: |
12+
sudo apt-get -qy update
13+
sudo apt-get -qfy install wget ca-certificates
14+
wget -q https://apertium.projectjj.com/apt/install-nightly.sh -O - | sudo bash
15+
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
16+
- name: autoreconf
17+
run: autoreconf -fvi
18+
- name: configure
19+
run: ./configure --enable-checker --enable-cgspell --enable-python-bindings
20+
- name: build
21+
run: make -j4 V=1 VERBOSE=1
22+
- name: tests
23+
run: make test V=1 VERBOSE=1
24+
- name: make install
25+
run: sudo make install

.travis.yml

-76
This file was deleted.

0 commit comments

Comments
 (0)