File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -525,28 +525,30 @@ jobs:
525525
526526 with-python-build-linux :
527527 runs-on : ubuntu-latest
528+ env :
529+ BUILD_DIR : ${{ github.workspace }}/build
528530 steps :
529531 - uses : actions/checkout@v4
530532 with :
531533 persist-credentials : false
532534 - name : Install Dependencies
533535 run : sudo ./.github/workflows/posix-deps-apt.sh
534536 - name : Configure host build
535- run : ./configure --prefix="$PWD/../build /host-python"
537+ run : ./configure --prefix="$BUILD_DIR /host-python"
536538 - name : Install host Python
537539 run : make -j8 install
538540 - name : Run test subset with host build
539541 run : |
540- "$PWD/../build /host-python/bin/python3" -m test test_sysconfig test_site test_embed
542+ "$BUILD_DIR /host-python/bin/python3" -m test test_sysconfig test_site test_embed
541543 - name : Clean up build
542- run : make -j clean
544+ run : make -j8 clean
543545 - name : Configure cross build
544- run : ./configure --prefix="$PWD/../build/ cross-python" --with-build-python="$PWD/../build /host-python/bin/python3"
546+ run : ./configure --prefix="$BUILD_DIR/ cross-python" --with-build-python="$BUILD_DIR /host-python/bin/python3"
545547 - name : Install cross Python
546548 run : make -j8 install
547549 - name : Run test subset with host build
548550 run : |
549- "$PWD/../build /cross-python/bin/python3" -m test test_sysconfig test_site test_embed
551+ "$BUILD_DIR /cross-python/bin/python3" -m test test_sysconfig test_site test_embed
550552
551553 # CIFuzz job based on https://google.github.io/oss-fuzz/getting-started/continuous-integration/
552554 cifuzz :
You can’t perform that action at this time.
0 commit comments