Skip to content

Commit 2f3846e

Browse files
committed
Enable CoreValidation tests on IAR
1 parent c25fd1e commit 2f3846e

4 files changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/core.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ jobs:
5858
run: |
5959
./build.py lit
6060
61+
- name: Archive Test Results
62+
if: ${{ !cancelled() }}
63+
uses: actions/upload-artifact@v4
64+
with:
65+
name: lit-test-results
66+
path: ./CMSIS/Core/Test/*.xunit
67+
6168
- name: Publish Test Results
6269
if: ${{ !cancelled() }}
6370
uses: EnricoMi/publish-unit-test-result-action@v2

.github/workflows/corevalidation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ jobs:
2121
strategy:
2222
fail-fast: true
2323
matrix:
24-
compiler: [AC6, GCC, Clang]
24+
compiler: [AC6, GCC, Clang, IAR]
2525

2626
runs-on: ubuntu-22.04
2727

2828
env:
2929
ARM_UBL_ACTIVATION_CODE: ${{ secrets.ARM_UBL_ACTIVATION_CODE }}
30+
IAR_LMS_BEARER_TOKEN: ${{ secrets.IAR_LMS_BEARER_TOKEN }}
3031

3132
steps:
3233
- run: |

CMSIS/CoreValidation/Project/build.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def image_ext(self):
8282
ext = {
8383
CompilerAxis.AC6: 'axf',
8484
CompilerAxis.GCC: 'elf',
85-
CompilerAxis.IAR: 'elf',
85+
CompilerAxis.IAR: 'out',
8686
CompilerAxis.CLANG: 'elf',
8787
}
8888
return ext[self]
@@ -286,11 +286,6 @@ def qemu_exec(config):
286286
return cmdline
287287

288288

289-
@matrix_filter
290-
def filter_iar(config):
291-
return config.compiler == CompilerAxis.IAR
292-
293-
294289
@matrix_filter
295290
def filter_gcc_cm52(config):
296291
device = config.device.match('CM52*')

CMSIS/CoreValidation/Project/vcpkg-configuration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"arm:compilers/arm/armclang": "6.23.0",
1212
"arm:compilers/arm/arm-none-eabi-gcc": "14.2.1",
1313
"arm:compilers/arm/llvm-embedded": "19.1.5",
14-
"arm:tools/open-cmsis-pack/cmsis-toolbox": "2.7.0",
14+
"arm:compilers/iar/cxarm": "9.60.4",
15+
"arm:tools/open-cmsis-pack/cmsis-toolbox": "2.8.0",
1516
"arm:models/arm/avh-fvp": "11.27.31",
16-
"arm:debuggers/arm/armdbg": "6.3.0",
1717
"arm:tools/ninja-build/ninja": "1.12.0"
1818
}
1919
}

0 commit comments

Comments
 (0)