Commit 84cb2ab6 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

ci: Try other way to switch branch and add python env wrapper.

No related merge requests found
Pipeline #55600 failed with stages
in 10 minutes and 12 seconds
Showing with 10 additions and 2 deletions
+10 -2
......@@ -16,8 +16,8 @@ build:
- linux
script:
- cd cpython
- git branch 3.10
- git checkout 3.10
- git fetch origin
- git switch 3.10
- ./configure --enable-optimizations --with-lto --enable-shared --with-system-expat --with-system-ffi --with-ensurepip=install --with-computed-gotos --prefix=$(pwd)/../dist/ --disable-test-modules
- make -j18 all
- make install
......
python 0 → 100644
#!/bin/sh
export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$PWD/lib/pkgconfig:$PKG_CONFIG_PATH
export C_INCLUDE_PATH=$PWD/include/python3.10:$C_INCLUDE_PATH
export CPLUS_INCLUDE_PATH=$PWD/include/python3.10:$CPLUS_INCLUDE_PATH
./bin/python3 $@
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