File tree Expand file tree Collapse file tree 3 files changed +33
-28
lines changed Expand file tree Collapse file tree 3 files changed +33
-28
lines changed Original file line number Diff line number Diff line change 33
33
runs-on : ubuntu-latest
34
34
needs : check_source
35
35
if : needs.check_source.outputs.run_tests == 'true'
36
-
37
36
# Use a specific image version for reproducible builds
38
37
container :
39
38
image : opensuse/leap:15.5
40
-
41
39
strategy :
42
40
fail-fast : false
43
41
matrix :
@@ -53,30 +51,17 @@ jobs:
53
51
OPENSSL_VER : 1.1.1u
54
52
55
53
steps :
56
- - name : Install All Dependencies
54
+
55
+ - name : Install Git and Tar
57
56
run : |
58
- zypper --non-interactive install --auto-agree-with-licenses \
59
- git \
60
- tar \
61
- gcc \
62
- make \
63
- python3 \
64
- libabigail-tools \
65
- xorg-x11-server-Xvfb \
66
- libffi-devel \
67
- zlib-devel \
68
- ncurses-devel \
69
- gdbm-devel \
70
- sqlite3-devel \
71
- tk-devel \
72
- readline-devel \
73
- xz-devel \
74
- bzip2 \
75
- openssl \
76
- xvfb-run
57
+ zypper ref
58
+ zypper -n install -y git-core tar
77
59
78
60
- uses : actions/checkout@v4
79
61
62
+ - name : Install All Dependencies
63
+ run : sh -x ./.github/workflows/posix-deps-zypp.sh
64
+
80
65
- name : ' Restore OpenSSL build'
81
66
if : matrix.task == 'build-and-test'
82
67
id : cache-openssl
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- zypper refresh --force
2
+ zypper refresh
3
3
4
- zypper install --auto-agree-with-licenses --force \
5
- pattern:devel_rpm_build pattern:devel_C_C++ \
4
+ zypper --non-interactive install --no-confirm --auto-agree-with-licenses --force \
5
+ pattern:devel_rpm_build pattern:devel_C_C++ make python3 \
6
+ libabigail-tools xorg-x11-server-Xvfb xvfb-run \
7
+ cantarell-fonts google-droid-fonts google-inconsolata-fonts dejavu-fonts \
8
+ libffi-devel \
9
+ xz-devel \
10
+ bzip2 \
6
11
zlib-devel \
7
12
libbz2-devel \
8
13
ncurses-devel \
9
14
readline6-devel \
10
15
sqlite3-devel \
11
- openssl -devel \
16
+ libopenssl -devel \
12
17
gdbm-devel \
13
18
tk-devel \
14
19
lzma \
15
20
lzma-devel \
16
- liblzma-devel \
17
21
libffi-devel \
18
22
uuid-devel \
19
- xvfb \
23
+ xvfb-run \
20
24
lcov
Original file line number Diff line number Diff line change @@ -721,6 +721,22 @@ regen-importlib: Programs/_freeze_importlib
721
721
$(srcdir)/Python/importlib.h.new
722
722
$(UPDATE_FILE) $(srcdir)/Python/importlib.h $(srcdir)/Python/importlib.h.new
723
723
724
+ ############################################################################
725
+ # ABI
726
+
727
+ .PHONY: regen-abidump
728
+ regen-abidump: all
729
+ @$(MKDIR_P) $(srcdir)/Doc/data/
730
+ abidw "libpython$(LDVERSION).so" --no-architecture --out-file $(srcdir)/Doc/data/python$(LDVERSION).abi.new
731
+ @$(UPDATE_FILE) --create $(srcdir)/Doc/data/python$(LDVERSION).abi $(srcdir)/Doc/data/python$(LDVERSION).abi.new
732
+
733
+ .PHONY: check-abidump
734
+ check-abidump: all
735
+ abidiff $(srcdir)/Doc/data/python$(LDVERSION).abi "libpython$(LDVERSION).so" --drop-private-types --no-architecture --no-added-syms
736
+
737
+ .PHONY: regen-limited-abi
738
+ regen-limited-abi: all
739
+ $(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/build/stable_abi.py --generate-all
724
740
725
741
############################################################################
726
742
# Regenerate all generated files
You can’t perform that action at this time.
0 commit comments