File tree 1 file changed +7
-5
lines changed 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -525,28 +525,30 @@ jobs:
525
525
526
526
with-python-build-linux :
527
527
runs-on : ubuntu-latest
528
+ env :
529
+ BUILD_DIR : ${{ github.workspace }}/build
528
530
steps :
529
531
- uses : actions/checkout@v4
530
532
with :
531
533
persist-credentials : false
532
534
- name : Install Dependencies
533
535
run : sudo ./.github/workflows/posix-deps-apt.sh
534
536
- name : Configure host build
535
- run : ./configure --prefix="$PWD/../build /host-python"
537
+ run : ./configure --prefix="$BUILD_DIR /host-python"
536
538
- name : Install host Python
537
539
run : make -j8 install
538
540
- name : Run test subset with host build
539
541
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
541
543
- name : Clean up build
542
- run : make -j clean
544
+ run : make -j8 clean
543
545
- 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"
545
547
- name : Install cross Python
546
548
run : make -j8 install
547
549
- name : Run test subset with host build
548
550
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
550
552
551
553
# CIFuzz job based on https://google.github.io/oss-fuzz/getting-started/continuous-integration/
552
554
cifuzz :
You can’t perform that action at this time.
0 commit comments