Skip to content

Commit 9e396b0

Browse files
committed
carlosperate/arm-none-eabi-gcc-action with 10-2020-q4 (same as currently used)
1 parent 150a8a5 commit 9e396b0

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

.github/workflows/githubci.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -73,25 +73,10 @@ jobs:
7373
repository: hathach/linkermap
7474
path: linkermap
7575

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
8278
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'
9580

9681
- name: Install Tools
9782
run: |
@@ -100,6 +85,7 @@ jobs:
10085
10186
- name: Build
10287
run: |
88+
arm-none-eabi-gcc --version
10389
make BOARD=${{ matrix.board }} all
10490
make BOARD=${{ matrix.board }} copy-artifact
10591

0 commit comments

Comments
 (0)