Skip to content

Commit a6f7f33

Browse files
committed
CI: Bump Arm GNU Toolchain
1 parent c2fe7ec commit a6f7f33

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.github/workflows/ci_cortex_m.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
name: cortex_m
44

55
# Controls when the action will run. Triggers the workflow on push or pull request
6-
# events but only for the master branch
6+
# events but only for the dev branch
77
on:
88
push:
9-
branches: [ master ]
9+
branches: [ dev ]
1010
pull_request:
11-
branches: [ master ]
11+
branches: [ dev ]
1212
paths:
1313
- ".github/workflows/ci_cortex_m.yml"
1414
- 'common/**'
@@ -44,16 +44,16 @@ jobs:
4444
id: cache-arm-gcc
4545
uses: actions/cache@v1
4646
with:
47-
path: $HOME/arm-none-eabi-gcc-9-2019-q4
48-
key: ${{ runner.os }}-arm-gcc-9-2019-q4
47+
path: $HOME/arm-none-eabi-gcc-13
48+
key: ${{ runner.os }}-arm-gcc-13
4949

5050
# Get the arm-non-eabi-gcc toolchain
5151
- name: Install arm-none-eabi-gcc
52-
uses: fiam/arm-none-eabi-gcc@v1
52+
uses: carlosperate/arm-none-eabi-gcc-action@v1
5353
if: steps.cache-arm-gcc.outputs.cache-hit != 'true'
5454
with:
55-
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
56-
directory: $HOME/arm-none-eabi-gcc-9-2019-q4
55+
release: '13.3.Rel1' # The arm-none-eabi-gcc release to use.
56+
directory: $HOME/arm-none-eabi-gcc-13
5757

5858
# Get CMake into the environment
5959
- name: Install cmake 3.19.1
@@ -67,11 +67,9 @@ jobs:
6767
- name: Prepare build system
6868
run: cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=./cmake/cortex_m${{ matrix.port }}.cmake -GNinja .
6969
env:
70-
PATH: "$HOME/arm-none-eabi-gcc-9-2019-q4/bin:$PATH"
70+
PATH: "$HOME/arm-none-eabi-gcc-13/bin:$PATH"
7171

7272
- name: Compile and link
7373
run: cmake --build ./build
7474
env:
75-
PATH: "$HOME/arm-none-eabi-gcc-9-2019-q4/bin:$PATH"
76-
77-
75+
PATH: "$HOME/arm-none-eabi-gcc-13/bin:$PATH"

0 commit comments

Comments
 (0)