-
Notifications
You must be signed in to change notification settings - Fork 0
72 lines (69 loc) · 1.76 KB
/
debian.yml
File metadata and controls
72 lines (69 loc) · 1.76 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: Python on Debian
on:
pull_request:
push:
branches: [main]
schedule:
- cron: '10 7 * * 1'
jobs:
debian_builtin:
runs-on: ubuntu-latest
strategy:
matrix:
container: ["debian:11", "debian:12"]
container:
image: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
libffi-dev \
python3-full \
python3-dev \
python3-pip \
python3-setuptools \
automake \
autoconf \
libtool
- name: Build
run: |
python3 -m venv $HOME/venv && \
BUILD_LIB=1 $HOME/venv/bin/pip3 install .
- name: Test
run: |
$HOME/venv/bin/pip3 install pytest && \
$HOME/venv/bin/py.test
debian_system:
runs-on: ubuntu-latest
strategy:
matrix:
container: ["debian:11", "debian:12"]
container:
image: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
libffi-dev \
python3-full \
python3-dev \
python3-pip \
python3-setuptools \
libfuzzy-dev \
automake \
autoconf \
libtool
- name: Build
run: |
python3 -m venv $HOME/venv && \
BUILD_LIB=1 $HOME/venv/bin/pip3 install .
- name: Test
run: |
$HOME/venv/bin/pip3 install pytest && \
$HOME/venv/bin/py.test