From 81b0b8058af141776a11e14e6fdae710bba95034 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sun, 26 May 2024 21:40:32 +1000 Subject: [PATCH] Update prereqs before maximising disk space. --- .github/workflows/invoke_crosstool.yaml | 27 ++++++++++++++----------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/invoke_crosstool.yaml b/.github/workflows/invoke_crosstool.yaml index c1a4487..7de8210 100644 --- a/.github/workflows/invoke_crosstool.yaml +++ b/.github/workflows/invoke_crosstool.yaml @@ -24,6 +24,21 @@ jobs: runs-on: ${{ fromJSON(inputs.runner_labels_json) }} steps: + - name: Clone toolchains repo for prereqs + uses: actions/checkout@v4 + + - name: Prerequisites (Linux) + if: ${{ runner.os == 'Linux' }} + run: | + ./ubuntu-prereqs.sh + echo "$GITHUB_WORKSPACE/.local/bin" >> $GITHUB_PATH + + - name: Prerequisites (macOS) + if: ${{ runner.os == 'macOS' }} + run: | + brew install autoconf automake bash binutils coreutils gawk gnu-sed help2man make meson ncurses pkg-config python3 + echo "$GITHUB_WORKSPACE/.local/bin" >> $GITHUB_PATH + - name: Show disk space available - before run: | df -h @@ -87,18 +102,6 @@ jobs: - name: Clone toolchains repo uses: actions/checkout@v4 - - name: Prerequisites (Linux) - if: ${{ runner.os == 'Linux' }} - run: | - ./ubuntu-prereqs.sh - echo "$GITHUB_WORKSPACE/.local/bin" >> $GITHUB_PATH - - - name: Prerequisites (macOS) - if: ${{ runner.os == 'macOS' }} - run: | - brew install autoconf automake bash binutils coreutils gawk gnu-sed help2man make meson ncurses pkg-config python3 - echo "$GITHUB_WORKSPACE/.local/bin" >> $GITHUB_PATH - - name: Download copy of crosstool-ng uses: actions/download-artifact@v4 with: