Skip to content

Commit ed512cb

Browse files
committed
Investigate
1 parent 8a420dc commit ed512cb

File tree

2 files changed

+36
-11
lines changed

2 files changed

+36
-11
lines changed

.github/workflows/corevalidation.yml

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
5151
- uses: actions/setup-python@v5
5252
with:
53-
python-version: '3.10'
53+
python-version: '3.10'
5454
cache: 'pip'
5555

5656
- name: Python requirements
@@ -63,7 +63,7 @@ jobs:
6363
run: |
6464
sudo apt-get update
6565
sudo apt-get install libtinfo5
66-
66+
6767
- name: Install IAR Toolchain
6868
if: matrix.compiler == 'IAR'
6969
working-directory: /home/runner
@@ -73,17 +73,38 @@ jobs:
7373
echo "PATH=$PATH:$(pwd)/cxarm-9.70.1/arm/bin" >> $GITHUB_ENV
7474
echo "IAR_TOOLCHAIN_9_70_1=$(pwd)/cxarm-9.70.1/arm/bin" >> $GITHUB_ENV
7575
76-
7776
- name: Activate vcpkg environment
7877
uses: ARM-software/cmsis-actions/vcpkg@v1
7978
with:
8079
config: ./CMSIS/CoreValidation/Project/vcpkg-configuration.json
81-
82-
- name: Inspect IAR Toolchain
83-
run: |
84-
iccarm --version
85-
ilinkarm --version
86-
iarchive --version
80+
81+
# - name: Inspect IAR Toolchain -1
82+
# shell: bash
83+
# continue-on-error: true
84+
# run: |
85+
# iccarm --version
86+
87+
# - name: Inspect IAR Toolchain - 2
88+
# shell: bash
89+
# continue-on-error: true
90+
# run: |
91+
# env | grep -i iar
92+
93+
# - name: Create LMS config file
94+
# run: |
95+
# echo '{"token": "'"${IAR_LMS_BEARER_TOKEN}"'", "type": "bearer"}' > lms_config.json
96+
# export IAR_LMS_CONFIG=$(pwd)/lms_config.json
97+
# echo "IAR_LMS_CONFIG=$(pwd)/lms_config.json" >> $GITHUB_ENV
98+
# echo "Token starts with: ${IAR_LMS_BEARER_TOKEN:0:10}..."
99+
# echo "Config file: ${IAR_LMS_CONFIG}"
100+
# echo "int main() { return 0; }" > dummy.c
101+
# iccarm dummy.c
102+
103+
# - name: Compile dummy code with IAR
104+
# shell: bash
105+
# run: |
106+
# echo "int main() { return 0; }" > dummy.c
107+
# iccarm dummy.c
87108

88109
- name: Activate Arm tool license
89110
uses: ARM-software/cmsis-actions/armlm@v1
@@ -102,7 +123,11 @@ jobs:
102123

103124
- name: Build
104125
working-directory: ./CMSIS/CoreValidation/Project
126+
shell: bash
127+
env:
128+
IAR_LMS_BEARER_TOKEN: ${{ secrets.IAR_LMS_BEARER_TOKEN }}
105129
run: |
130+
echo "Token is set: ${IAR_LMS_BEARER_TOKEN:+yes}"
106131
echo "Register local Cortex_DFP pack"
107132
cpackget add /home/runner/Cortex_DFP/ARM.Cortex_DFP.pdsc
108133

CMSIS/CoreValidation/Project/vcpkg-configuration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
}
88
],
99
"requires": {
10-
"arm:tools/kitware/cmake": "^3.31.5",
10+
"arm:tools/kitware/cmake": "3.31.5",
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",
1414
"arm:tools/open-cmsis-pack/cmsis-toolbox": "2.9.0",
1515
"arm:models/arm/avh-fvp": "11.27.31",
1616
"arm:tools/ninja-build/ninja": "1.12.0"
1717
}
18-
}
18+
}

0 commit comments

Comments
 (0)