File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -523,15 +523,27 @@ jobs:
523
523
suppressions_path : Tools/tsan/suppressions_free_threading.txt
524
524
tsan_logs_artifact_name : tsan-logs-free-threading
525
525
526
- with-python-build-linux :
526
+ cross-build-linux :
527
+ name : Cross build Linux
527
528
runs-on : ubuntu-latest
529
+ needs : check_source
530
+ if : needs.check_source.outputs.run_tests == 'true'
528
531
steps :
529
- - name : Set build dir
530
- run :
531
- echo "BUILD_DIR=$(realpath ${{ github.workspace }}/../build)" >> "$GITHUB_ENV"
532
532
- uses : actions/checkout@v4
533
533
with :
534
534
persist-credentials : false
535
+ - name : Runner image version
536
+ run : echo "IMAGE_VERSION=${ImageVersion}" >> "$GITHUB_ENV"
537
+ - name : Restore config.cache
538
+ uses : actions/cache@v4
539
+ with :
540
+ path : config.cache
541
+ key : ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ needs.check_source.outputs.config_hash }}
542
+ - name : Register gcc problem matcher
543
+ run : echo "::add-matcher::.github/problem-matchers/gcc.json"
544
+ - name : Set build dir
545
+ run :
546
+ echo "BUILD_DIR=$(realpath ${{ github.workspace }}/../build)" >> "$GITHUB_ENV"
535
547
- name : Install Dependencies
536
548
run : sudo ./.github/workflows/posix-deps-apt.sh
537
549
- name : Configure host build
You can’t perform that action at this time.
0 commit comments