-
Notifications
You must be signed in to change notification settings - Fork 175
63 lines (52 loc) · 1.6 KB
/
Build_Examples.yml
File metadata and controls
63 lines (52 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Build examples
on:
workflow_dispatch:
pull_request:
paths:
- .github/workflows/Build_Examples.yml
- CMSIS/RTOS2/FreeRTOS/Examples/**/*
- CMSIS/RTOS2/FreeRTOS/Include/**/*
- CMSIS/RTOS2/FreeRTOS/Source/**/*
- Source/**/*
- ARM.CMSIS-FreeRTOS.pdsc
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
examples:
strategy:
fail-fast: true
matrix:
compiler: [AC6, GCC, CLANG]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Install LLVM dependencies and tools
working-directory: /home/runner
run: |
sudo apt-get update
sudo apt-get install libtinfo6
- name: Prepare vcpkg env
uses: ARM-software/cmsis-actions/vcpkg@main
with:
config: ./.ci/vcpkg-configuration.json
- name: Activate Arm tool license
uses: ARM-software/cmsis-actions/armlm@v1
with:
server: https://mdk-preview.keil.arm.com
product: KEMDK-COM0
- uses: ammaraskar/gcc-problem-matcher@master
- name: Register local pack
run: |
cpackget rm ARM.CMSIS-FreeRTOS || echo "Ok"
cpackget add ./ARM.CMSIS-FreeRTOS.pdsc
- name: Build exmples
working-directory: ./CMSIS/RTOS2/FreeRTOS/Examples
run: |
cbuild Examples.csolution.yml --packs --update-rte --toolchain ${{ matrix.compiler }}
- name: Deactivate Arm tool license
if: always()
run: |
armlm deactivate --product KEMDK-COM0