Skip to content

Commit ca456a4

Browse files
authored
Merge pull request #1 from sysprog21/ci-arm-none-eabi-gcc
CI: Bump Arm GNU Toolchain
2 parents c2fe7ec + f2a7030 commit ca456a4

File tree

1 file changed

+8
-23
lines changed

1 file changed

+8
-23
lines changed

.github/workflows/ci_cortex_m.yml

Lines changed: 8 additions & 23 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/**'
@@ -39,39 +39,24 @@ jobs:
3939
with:
4040
submodules: true
4141

42-
# Store the arm compilers in the cache to speed up builds
43-
- name: Cache arm-none-eabi-gcc tools
44-
id: cache-arm-gcc
45-
uses: actions/cache@v1
46-
with:
47-
path: $HOME/arm-none-eabi-gcc-9-2019-q4
48-
key: ${{ runner.os }}-arm-gcc-9-2019-q4
49-
5042
# Get the arm-non-eabi-gcc toolchain
5143
- name: Install arm-none-eabi-gcc
52-
uses: fiam/arm-none-eabi-gcc@v1
44+
uses: carlosperate/arm-none-eabi-gcc-action@v1
5345
if: steps.cache-arm-gcc.outputs.cache-hit != 'true'
5446
with:
55-
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
56-
directory: $HOME/arm-none-eabi-gcc-9-2019-q4
47+
release: '13.3.Rel1' # The arm-none-eabi-gcc release to use.
5748

5849
# Get CMake into the environment
59-
- name: Install cmake 3.19.1
60-
uses: lukka/get-cmake@v3.19.1
50+
- name: Install cmake
51+
uses: lukka/get-cmake@v3.31.0
6152

6253
# Get Ninja into the environment
6354
- name: Install ninja-build
64-
uses: seanmiddleditch/gha-setup-ninja@v3
55+
uses: seanmiddleditch/gha-setup-ninja@v5
6556

6657
# Prepare the build system
6758
- name: Prepare build system
6859
run: cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=./cmake/cortex_m${{ matrix.port }}.cmake -GNinja .
69-
env:
70-
PATH: "$HOME/arm-none-eabi-gcc-9-2019-q4/bin:$PATH"
7160

7261
- name: Compile and link
7362
run: cmake --build ./build
74-
env:
75-
PATH: "$HOME/arm-none-eabi-gcc-9-2019-q4/bin:$PATH"
76-
77-

0 commit comments

Comments
 (0)