Commit c4daefc5 authored by EKbfh's avatar EKbfh 🐼
Browse files

Move paths for compiling

Make proper tar archive
parent 296e172d
Pipeline #23978 passed with stages
in 27 minutes and 18 seconds
......@@ -22,13 +22,13 @@ variables:
libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev
libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev libffi-dev uuid-dev
- curl -o /tmp/python.tar.gz https://www.python.org/ftp/python/$PYTHON_VERSION_3_8/Python-$PYTHON_VERSION_3_8.tgz
- tar -zxf /tmp/python.tar.gz -C /opt/python$PYTHON_VERSION_3_8
- cd /opt/python$PYTHON_VERSION_3_8/Python-$PYTHON_VERSION_3_8
- ./configure --prefix=/opt/python$PYTHON_VERSION_3_8/build --enable-optimizations $COMPILE_FLAGS_DEB
- tar -zxf /tmp/python.tar.gz -C /opt
- cd /opt/Python-$PYTHON_VERSION_3_8
- ./configure --prefix=/opt/python$PYTHON_VERSION_3_8 --enable-optimizations $COMPILE_FLAGS_DEB
- make -s
- make install
- /opt/python$PYTHON_VERSION_3_8/build/bin/python3 -V || true
- tar czf "${CI_PROJECT_DIR}/python${PYTHON_VERSION_3_8}.tar.gz" /opt/python$PYTHON_VERSION_3_8/build
- /opt/python$PYTHON_VERSION_3_8/bin/python3 -V || true
- tar czf "${CI_PROJECT_DIR}/python${PYTHON_VERSION_3_8}.tar.gz" -C /opt/python$PYTHON_VERSION_3_8/ .
artifacts:
paths:
- python*.tar.gz
......@@ -58,7 +58,7 @@ compile_RedHat:
- make -s
- make install
- /opt/python$PYTHON_VERSION_3_8/bin/python3 -V || true
- tar czf "${CI_PROJECT_DIR}/python${PYTHON_VERSION_3_8}.tar.gz" /opt/python$PYTHON_VERSION_3_8/
- tar czf "${CI_PROJECT_DIR}/python${PYTHON_VERSION_3_8}.tar.gz" -C /opt/python$PYTHON_VERSION_3_8/ .
upload_RedHat:
stage: upload
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment