|
3 | 3 | name: cortex_m
|
4 | 4 |
|
5 | 5 | # 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 |
7 | 7 | on:
|
8 | 8 | push:
|
9 |
| - branches: [ master ] |
| 9 | + branches: [ dev ] |
10 | 10 | pull_request:
|
11 |
| - branches: [ master ] |
| 11 | + branches: [ dev ] |
12 | 12 | paths:
|
13 | 13 | - ".github/workflows/ci_cortex_m.yml"
|
14 | 14 | - 'common/**'
|
@@ -44,16 +44,16 @@ jobs:
|
44 | 44 | id: cache-arm-gcc
|
45 | 45 | uses: actions/cache@v1
|
46 | 46 | 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 |
49 | 49 |
|
50 | 50 | # Get the arm-non-eabi-gcc toolchain
|
51 | 51 | - name: Install arm-none-eabi-gcc
|
52 |
| - uses: fiam/arm-none-eabi-gcc@v1 |
| 52 | + uses: carlosperate/arm-none-eabi-gcc-action@v1 |
53 | 53 | if: steps.cache-arm-gcc.outputs.cache-hit != 'true'
|
54 | 54 | 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 |
57 | 57 |
|
58 | 58 | # Get CMake into the environment
|
59 | 59 | - name: Install cmake 3.19.1
|
|
67 | 67 | - name: Prepare build system
|
68 | 68 | run: cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=./cmake/cortex_m${{ matrix.port }}.cmake -GNinja .
|
69 | 69 | env:
|
70 |
| - PATH: "$HOME/arm-none-eabi-gcc-9-2019-q4/bin:$PATH" |
| 70 | + PATH: "$HOME/arm-none-eabi-gcc-13/bin:$PATH" |
71 | 71 |
|
72 | 72 | - name: Compile and link
|
73 | 73 | run: cmake --build ./build
|
74 | 74 | 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