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 @@ -74,25 +74,10 @@ jobs:
74
74
repository : hathach/linkermap
75
75
path : linkermap
76
76
77
- - name : Set Toolchain URL
78
- 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
79
-
80
- - name : Cache Toolchain
81
- uses : actions/cache@v3
82
- id : cache-toolchain
77
+ - name : Install ARM GCC
78
+ uses : carlosperate/arm-none-eabi-gcc-action@v1
83
79
with :
84
- path : ~/cache/
85
- key : ${{ runner.os }}-22-05-17-${{ env.TOOLCHAIN_URL }}
86
-
87
- - name : Install Toolchain
88
- if : steps.cache-toolchain.outputs.cache-hit != 'true'
89
- run : |
90
- mkdir -p ~/cache/toolchain
91
- wget --progress=dot:mega $TOOLCHAIN_URL -O toolchain.tar.gz
92
- tar -C ~/cache/toolchain -xaf toolchain.tar.gz
93
-
94
- - name : Set Toolchain Path
95
- run : echo >> $GITHUB_PATH `echo ~/cache/toolchain/*/bin`
80
+ release : ' 10-2020-q4'
96
81
97
82
- name : Install Tools
98
83
run : |
101
86
102
87
- name : Build
103
88
run : |
89
+ arm-none-eabi-gcc --version
104
90
make BOARD=${{ matrix.board }} all
105
91
make BOARD=${{ matrix.board }} copy-artifact
106
92
You can’t perform that action at this time.
0 commit comments