Skip to content

Commit

Permalink
Update prereqs before maximising disk space.
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc committed May 26, 2024
1 parent 025469a commit 81b0b80
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/invoke_crosstool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 81b0b80

Please sign in to comment.