5
5
lint_test :
6
6
runs-on : ubuntu-latest
7
7
steps :
8
- - uses : actions/checkout@v1
8
+ - uses : actions/checkout@v4
9
9
- name : Set up Python 3.x
10
- uses : actions/setup-python@v1
10
+ uses : actions/setup-python@v5
11
11
with :
12
12
python-version : 3.x
13
13
- name : Install dependencies
@@ -23,28 +23,27 @@ jobs:
23
23
env :
24
24
DISPLAY : :99.0
25
25
steps :
26
- - uses : actions/checkout@v1
26
+ - uses : actions/checkout@v4
27
27
- name : Set up Python 3.x
28
- uses : actions/setup-python@v1
28
+ uses : actions/setup-python@v5
29
29
with :
30
30
python-version : 3.x
31
- - name : Make sdist
32
- run : python3 setup.py sdist --formats=gztar
33
31
- name : Install dependencies
34
32
run : |
35
33
sudo apt update
36
- sudo apt -y install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev
37
- sudo apt-get -y install python3-setuptools build-essential libgl1-mesa-dev libgles2-mesa-dev
34
+ sudo apt-get -y install build-essential libgl1-mesa-dev libgles2-mesa-dev
38
35
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1280x720x24 -ac +extension GLX
39
36
40
37
python3 -m pip install --upgrade pip virtualenv wheel setuptools
41
38
python3 -m pip install kivy[base] --pre --extra-index-url https://kivy.org/downloads/simple/
39
+ - name : Make sdist
40
+ run : python3 setup.py sdist --formats=gztar
42
41
- name : Install flower
43
42
run : python3 -m pip install -e .[dev,ci] --extra-index-url https://kivy-garden.github.io/simple/
44
43
- name : Make wheel
45
44
run : python3 setup.py bdist_wheel --universal
46
45
- name : Upload wheels as artifact
47
- uses : actions/upload-artifact@master
46
+ uses : actions/upload-artifact@v4
48
47
with :
49
48
name : wheels
50
49
path : dist
66
65
env :
67
66
KIVY_GL_BACKEND : angle_sdl2
68
67
steps :
69
- - uses : actions/checkout@v1
68
+ - uses : actions/checkout@v4
70
69
- name : Set up Python 3.x
71
- uses : actions/setup-python@v1
70
+ uses : actions/setup-python@v5
72
71
with :
73
72
python-version : 3.x
74
73
- name : Install dependencies
85
84
docs :
86
85
runs-on : ubuntu-latest
87
86
steps :
88
- - uses : actions/checkout@v1
87
+ - uses : actions/checkout@v4
89
88
- name : Set up Python 3.x
90
- uses : actions/setup-python@v1
89
+ uses : actions/setup-python@v5
91
90
with :
92
91
python-version : 3.x
93
92
- name : Install dependencies
@@ -103,7 +102,7 @@ jobs:
103
102
cd doc
104
103
make html
105
104
- name : Upload docs as artifact
106
- uses : actions/upload-artifact@master
105
+ uses : actions/upload-artifact@v4
107
106
with :
108
107
name : docs
109
108
path : doc/build/html
0 commit comments