File tree Expand file tree Collapse file tree 2 files changed +28
-4
lines changed
Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Setup ARM GUN toolchain with S3 cache
2+ description : Install and restore ARM GUN toolchain using S3 cache
3+
4+ runs :
5+ using : composite
6+ steps :
7+ - name : Cache toolchain
8+ uses : runs-on/cache@v4
9+ id : cache-toolchain
10+ with :
11+ path : .cp_tools
12+ key : setup-arm-gnu-toolchain-${{ runner.os }}-${{ runner.arch }}-14.2.rel1
13+ restore-keys : |
14+ setup-arm-gnu-toolchain-${{ runner.os }}-${{ runner.arch }}-
15+
16+ - name : Set up toolchain
17+ if : ${{ !steps.cache-toolchain.outputs.cache-hit }}
18+ shell : bash
19+ run : |
20+ wget https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz -O $RUNNER_TEMP/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz
21+ tar xJ --warning=no-unknown-keyword --overwrite -C $RUNNER_TEMP -f $RUNNER_TEMP/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz
22+ mv $RUNNER_TEMP/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi ~/.local
23+
24+ - name : Activate toolchain
25+ run : |
26+ echo >> $GITHUB_PATH "~/.local/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi/bin"
27+ shell : bash
Original file line number Diff line number Diff line change 1616 inputs.port != 'litex' &&
1717 inputs.port != 'espressif' &&
1818 inputs.port != 'zephyr-cp'
19- uses : carlosperate/arm-none-eabi-gcc-action@v1
20- with :
21- # When changing this update what Windows grabs too!
22- release : ' 14.2.Rel1'
19+ uses : ./.github/actions/deps/arm-gnu-toolchain
2320
2421 # espressif
2522 - name : Get espressif toolchain
You can’t perform that action at this time.
0 commit comments