Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hypha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
hypha
Commits
df1cb5af
Commit
df1cb5af
authored
11 months ago
by
Jesse Bickel
Browse files
Options
Downloads
Patches
Plain Diff
Download, verify, build, and cache Python3
parent
f23e270e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#115
failed
11 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+25
-0
25 additions, 0 deletions
.gitlab-ci.yml
with
25 additions
and
0 deletions
.gitlab-ci.yml
+
25
−
0
View file @
df1cb5af
test-job1
:
test-job1
:
stage
:
test
stage
:
test
variables
:
PY_VERSION
:
"
3.11.8"
script
:
script
:
-
python3 --version
-
python3 --version
-
mkdir binaries
-
pushd binaries
-
touch ./py_keyring
-
wget -O - https://github.com/Yhg1s.gpg | gpg --import --keyring ./py_keyring
-
wget -O - https://keybase.io/pablogsal/pgp_keys.asc?fingerprint=a035c8c19219ba821ecea86b64e628f8d684696d | gpg --import --keyring ./py_keyring
-
wget -O - https://keybase.io/ambv/pgp_keys.asc?fingerprint=e3ff2839c048b25c084debe9b26995e310250568 | gpg --import --keyring ./py_keyring
-
wget https://www.python.org/ftp/python/${PY_VERSION}/Python-${PY_VERSION}.tar.xz.asc
-
wget https://www.python.org/ftp/python/${PY_VERSION}/Python-${PY_VERSION}.tar.xz
-
gpg --verify --keyring ./py_keyring ./Python-${PY_VERSION}.tar.xz.asc
-
tar xvf ./Python-${PY_VERSION}.tar.xz
-
pushd Python-${PY_VERSION}
-
PY_DIR=$(readlink -f .)
-
./configure --prefix ${PY_DIR} --enable-optimizations
-
make
-
make test
-
make altinstall
-
popd
-
popd
-
${PY_DIR}/bin/python --version
cache
:
key
:
binaries-cache-$CI_COMMIT_REF_SLUG
paths
:
-
binaries/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment