File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 54
54
- os : ubuntu-22.04
55
55
# When building on Linux we use a container to build using an old enough version
56
56
container : rockylinux/rockylinux:8
57
+ sha256sum :
58
+ python : e8d7ed8c6f8c6f85cd083d5051cafd8c6c01d09eca340d1da74d0c00ff1cb897
57
59
- os : windows-2022
58
60
- os : macos-13
59
61
arch : x86_64
@@ -91,11 +93,22 @@ jobs:
91
93
92
94
# Install necessary packages
93
95
yum install -y \
94
- python3.9 \
95
96
git-core \
96
97
findutils
97
98
98
- echo PYTHON_CMD=/usr/bin/python3.9 >> $GITHUB_ENV
99
+ # Install Python 3.10 (we can't use the one from setup-python@v5: it requires a more recent version of libc)
100
+ PYTHON_VERSION=3.10.16
101
+ PYTHON_BUILD=20250317
102
+ scripts/download \
103
+ https://github.com/indygreg/python-build-standalone/releases/download/${PYTHON_BUILD}/cpython-${PYTHON_VERSION}+${PYTHON_BUILD}-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz \
104
+ python.tar.gz \
105
+ ${{ matrix.sha256sum.python }}
106
+
107
+ tar xf python.tar.gz
108
+
109
+ # Make Python available
110
+ echo PATH=$PWD/python/bin:$PATH >> $GITHUB_ENV
111
+ echo PYTHON_CMD=$PWD/python/bin/python >> $GITHUB_ENV
99
112
100
113
# Install NFPM
101
114
NFPM_VERSION=2.36.1
You can’t perform that action at this time.
0 commit comments