File tree Expand file tree Collapse file tree 1 file changed +4
-18
lines changed Expand file tree Collapse file tree 1 file changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -73,25 +73,10 @@ jobs:
73
73
repository : hathach/linkermap
74
74
path : linkermap
75
75
76
- - name : Set Toolchain URL
77
- run : echo >> $GITHUB_ENV TOOLCHAIN_URL=https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v10.2.1-1.1/xpack-arm-none-eabi-gcc-10.2.1-1.1-linux-x64.tar.gz
78
-
79
- - name : Cache Toolchain
80
- uses : actions/cache@v3
81
- id : cache-toolchain
76
+ - name : Install ARM GCC
77
+ uses : carlosperate/arm-none-eabi-gcc-action@v1
82
78
with :
83
- path : ~/cache/
84
- key : ${{ runner.os }}-22-05-17-${{ env.TOOLCHAIN_URL }}
85
-
86
- - name : Install Toolchain
87
- if : steps.cache-toolchain.outputs.cache-hit != 'true'
88
- run : |
89
- mkdir -p ~/cache/toolchain
90
- wget --progress=dot:mega $TOOLCHAIN_URL -O toolchain.tar.gz
91
- tar -C ~/cache/toolchain -xaf toolchain.tar.gz
92
-
93
- - name : Set Toolchain Path
94
- run : echo >> $GITHUB_PATH `echo ~/cache/toolchain/*/bin`
79
+ release : ' 10-2020-q4'
95
80
96
81
- name : Install Tools
97
82
run : |
100
85
101
86
- name : Build
102
87
run : |
88
+ arm-none-eabi-gcc --version
103
89
make BOARD=${{ matrix.board }} all
104
90
make BOARD=${{ matrix.board }} copy-artifact
105
91
You can’t perform that action at this time.
0 commit comments