Skip to content

Commit

Permalink
Merge pull request #1237 from pulsar-edit/compile-newer-Python-for-Ci…
Browse files Browse the repository at this point in the history
…rrus-ARM-Linux

CI: Compile newer Python for Cirrus ARM Linux
  • Loading branch information
DeeDeeG authored Mar 3, 2025
2 parents 6942472 + a32576c commit 052aa8c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,35 @@ arm_linux_task:
libnss3
wget
xvfb
libncursesw5-dev
libssl-dev
libsqlite3-dev
tk-dev
libgdbm-dev
libc6-dev
libbz2-dev
libffi-dev
zlib1g-dev
- gem install dotenv -v '~> 2.8'
- gem install fpm
- git submodule init
- git submodule update
- sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`/g" package.json
python_fetch_and_build_cache:
fingerprint_script: echo "${CIRRUS_OS}-$(uname -prsv)-Python-${PYTHON_VERSION}.9"
folder: Python-${PYTHON_VERSION}.9
populate_script:
- wget "https://www.python.org/ftp/python/${PYTHON_VERSION}.9/Python-${PYTHON_VERSION}.9.tgz"
- echo "45313e4c5f0e8acdec9580161d565cf5fea578e3eabf25df7cc6355bf4afa1ee Python-${PYTHON_VERSION}.9.tgz" | sha256sum --check
- tar xzf "Python-${PYTHON_VERSION}.9.tgz"
- cd "Python-${PYTHON_VERSION}.9"
- ./configure --enable-optimizations
- make
upload_caches:
- python_fetch_and_build
install_python_script:
- cd "Python-${PYTHON_VERSION}.9" && make install
- python3 -m pip install setuptools
install_script:
- yarn install --ignore-engines || yarn install --ignore-engines
build_script:
Expand Down

0 comments on commit 052aa8c

Please sign in to comment.