@@ -567,17 +567,30 @@ jobs:
567
567
if : ${{ github.event_name != 'pull_request_target' }}
568
568
uses : actions/checkout@v4
569
569
with :
570
- submodules : recursive
571
570
persist-credentials : false
572
571
573
572
- name : Check out source code (pull request)
574
573
if : ${{ github.event_name == 'pull_request_target' }}
575
574
uses : actions/checkout@v4
576
575
with :
577
576
ref : ${{ github.event.pull_request.head.sha }}
578
- submodules : recursive
579
577
persist-credentials : false
580
578
579
+ - name : Check out submodules
580
+ run : |
581
+ git config --global --add safe.directory '*'
582
+ git submodule init
583
+ git submodule update --depth=1 --recursive crosskit/crosskit-x86_64-apple-darwin
584
+ git submodule update --depth=1 --recursive crosskit/crosskit-x86_64-darwin-libpython
585
+ git submodule update --depth=1 --recursive crosskit/crosskit-mingw-w64-libpython
586
+ git submodule update --depth=1 --recursive crosstool-ng
587
+ git submodule update --depth=1 --recursive binutils
588
+ git submodule update --depth=1 --recursive binutils_arc
589
+ git submodule update --depth=1 --recursive gdb
590
+ git submodule update --depth=1 --recursive gcc
591
+ git submodule update --depth=1 --recursive gcc_arc
592
+ git submodule update --depth=1 --recursive picolibc
593
+
581
594
- name : Build crosstool-ng
582
595
run : |
583
596
# Configure macOS build environment
@@ -885,17 +898,22 @@ jobs:
885
898
if : ${{ github.event_name != 'pull_request_target' }}
886
899
uses : actions/checkout@v4
887
900
with :
888
- submodules : recursive
889
901
persist-credentials : false
890
902
891
903
- name : Check out source code (pull request)
892
904
if : ${{ github.event_name == 'pull_request_target' }}
893
905
uses : actions/checkout@v4
894
906
with :
895
907
ref : ${{ github.event.pull_request.head.sha }}
896
- submodules : recursive
897
908
persist-credentials : false
898
909
910
+ - name : Check out submodules
911
+ run : |
912
+ git config --global --add safe.directory '*'
913
+ git submodule init
914
+ git submodule update --depth=1 --recursive llvm
915
+ git submodule update --depth=1 --recursive picolibc
916
+
899
917
- name : Setup debug session (pre)
900
918
if : always() && needs.setup.outputs.debug == 'toolchain-pre'
901
919
uses : mxschmitt/action-tmate@v3
@@ -1021,17 +1039,23 @@ jobs:
1021
1039
if : ${{ github.event_name != 'pull_request_target' }}
1022
1040
uses : actions/checkout@v4
1023
1041
with :
1024
- submodules : recursive
1025
1042
persist-credentials : false
1026
1043
1027
1044
- name : Check out source code (pull request)
1028
1045
if : ${{ github.event_name == 'pull_request_target' }}
1029
1046
uses : actions/checkout@v4
1030
1047
with :
1031
1048
ref : ${{ github.event.pull_request.head.sha }}
1032
- submodules : recursive
1033
1049
persist-credentials : false
1034
1050
1051
+ - name : Check out submodules
1052
+ run : |
1053
+ git config --global --add safe.directory '*'
1054
+ git submodule init
1055
+ git submodule update --depth=1 --recursive qemu
1056
+ git submodule update --depth=1 --recursive qemu_arc
1057
+ git submodule update --depth=1 --recursive qemu_xilinx
1058
+
1035
1059
- name : Configure AWS Credentials
1036
1060
uses : aws-actions/configure-aws-credentials@v4
1037
1061
with :
0 commit comments