forked from giggls/mapnik-german-l10n
-
Notifications
You must be signed in to change notification settings - Fork 6
47 lines (39 loc) · 957 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: CI
on:
push:
branches: [ master ]
pull_request:
jobs:
ci:
name: Build and Test
runs-on: ubuntu-latest
env:
LANG: C.UTF-8
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: src
- name: Init
run: |
sudo apt-get update
sudo apt-get -y install devscripts equivs python3-setuptools
cd src
sudo mk-build-deps -t "apt-get -y" -i debian/control
- name: Build
run: |
cd src
make deb
mkdir build
mv ../*.deb ../*.buildinfo ../*.changes build
- name: Save results
uses: actions/upload-artifact@v4
with:
name: build
path: src/build
- name: Test
run: |
cd src
sudo apt-get -y install ./build/postgresql-*-osml10n_*_amd64.deb
pip3 install tltk
./tests/runtests_in_virtualenv.sh