diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 532332b2990..c6401db60f7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,6 +12,7 @@ jobs: build: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [ubuntu-22.04, ubuntu-24.04] mode: [newlib, linux, musl, uclibc] @@ -23,20 +24,39 @@ jobs: - mode: uclibc compiler: llvm steps: - - name: Remove unneeded frameworks to recover disk space + + - uses: actions/checkout@v4 + + - name: install dependencies run: | echo "-- Before --" df -h - sudo rm -rf /usr/share/dotnet - sudo rm -rf /usr/local/lib/android + sudo apt-mark auto '.*' > /dev/null + sudo apt-get update + apt-get install -y --no-install-recommends \ + ca-certificates \ + # Configure Deps + autoconf \ + gcc \ + g++ \ + gawk \ + curl \ + # Build Dependencies + make \ + git \ + texinfo \ + bison \ + flex \ + bzip2 \ + zlib1g-dev \ + python3 \ + libgmp-dev \ + libmpfr-dev \ + libexpat-dev + sudo apt-get autoremove echo "-- After --" df -h - - uses: actions/checkout@v4 - - - name: install dependencies - run: sudo ./.github/setup-apt.sh - - name: build toolchain run: | TARGET_TUPLE=($(echo ${{ matrix.target }} | tr "-" "\n")) diff --git a/Makefile.in b/Makefile.in index 4449aa00d58..b597a4057c2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -347,7 +347,7 @@ endif $(srcdir)/%/.git: cd $(srcdir) && \ flock `git rev-parse --git-dir`/config git submodule init $(dir $@) && \ - flock `git rev-parse --git-dir`/config git submodule update --progress $(dir $@) + flock `git rev-parse --git-dir`/config git submodule update --progress --depth 1 $(dir $@) stamps/install-host-gcc: $(GCC_SRCDIR) $(GCC_SRC_GIT) if test -f $