@@ -27,104 +27,73 @@ jobs:
2727 verify - linux - x86_64 :
2828 uses : ./ .github / workflows / verify .yml
2929 with :
30- version : ${{ inputs .VERSION }}
30+ version : ${{ inputs .version }}
3131 runner_os : ubuntu - 24.04
3232 arch : cortex - m4
3333
34- verify - linux - x86_64_cortex - m0 :
35- uses : ./ .github / workflows / verify .yml
36- with :
37- version : ${{ inputs .VERSION }}
38- runner_os : ubuntu - 24.04
39- arch : cortex - m0
40-
41- verify - linux - x86_64_cortex - m0plus :
42- uses : ./ .github / workflows / verify .yml
43- with :
44- version : ${{ inputs .VERSION }}
45- runner_os : ubuntu - 24.04
46- arch : cortex - m0plus
47-
48- verify - linux - x86_64_cortex - m1 :
49- uses : ./ .github / workflows / verify .yml
50- with :
51- version : ${{ inputs .VERSION }}
52- runner_os : ubuntu - 24.04
53- arch : cortex - m1
54-
55- verify - linux - x86_64_cortex - m3 :
56- uses : ./ .github / workflows / verify .yml
57- with :
58- version : ${{ inputs .VERSION }}
59- runner_os : ubuntu - 24.04
60- arch : cortex - m3
61-
62- verify - linux - x86_64_cortex - m4 :
63- uses : ./ .github / workflows / verify .yml
64- with :
65- version : ${{ inputs .VERSION }}
66- runner_os : ubuntu - 24.04
67- arch : cortex - m4
68-
69- verify - linux - x86_64_cortex - m4f :
70- uses : ./ .github / workflows / verify .yml
71- with :
72- version : ${{ inputs .VERSION }}
73- runner_os : ubuntu - 24.04
74- arch : cortex - m4f
75-
76- verify - linux - x86_64_cortex - m7d :
77- uses : ./ .github / workflows / verify .yml
78- with :
79- version : ${{ inputs .VERSION }}
80- runner_os : ubuntu - 24.04
81- arch : cortex - m7d
82-
83- verify - linux - x86_64_cortex - m23 :
84- uses : ./ .github / workflows / verify .yml
85- with :
86- version : ${{ inputs .VERSION }}
87- runner_os : ubuntu - 24.04
88- arch : cortex - m23
89-
9034 verify - linux - arm :
9135 uses : ./ .github / workflows / verify .yml
9236 with :
93- version : ${{ inputs .VERSION }}
37+ version : ${{ inputs .version }}
9438 runner_os : ubuntu - 24.04 - arm
9539 arch : cortex - m4
9640
9741 verify - macos - 15 - arm :
9842 uses : ./ .github / workflows / verify .yml
9943 with :
100- version : ${{ inputs .VERSION }}
44+ version : ${{ inputs .version }}
10145 runner_os : macos - 15
10246 arch : cortex - m4
10347
10448 verify - windows - x86_64 :
10549 uses : ./ .github / workflows / verify .yml
10650 with :
107- version : ${{ inputs .VERSION }}
51+ version : ${{ inputs .version }}
10852 runner_os : windows - latest
10953 arch : cortex - m4
11054
55+ cortex - m_gcc :
56+ runs - on : ubuntu - latest
57+ env :
58+ VERBOSE : 1
59+ steps :
60+ - name : 📥 Checkout target repository
61+ uses : actions / checkout @v2
62+ with :
63+ submodules : true
64+ fetch - depth : 0
65+
66+ - name : 📥 Install CMake & Conan
67+ run : pipx install conan >= 2.22 .2
68+
69+ - name : 📡 Install libhal / conan - config2
70+ run : conan config install https :// github .com / libhal / conan - config2 .git
71+
72+ - name : 📡 Run `conan hal setup`
73+ run : conan hal setup
74+
75+ - name : 📦 Create Conan Package
76+ run : conan create all - - version = ${{ inputs .version }}
77+
78+ - name : 📦 Build packages for all Cortex - M architectures
79+ run : |
80+ bash .github / scripts / build_all_variants .sh \
81+ - - dir demo \
82+ - - version ${{ inputs .version }} \
83+ - - compiler - profile conan / profiles / v1 / arm - gcc - ${{ inputs .version }} \
84+ - - conan - version 2.22 .2 \
85+ - - arch - list cortex - m0 ,cortex - m0plus ,cortex - m1 ,cortex - m3 ,cortex - m4 ,cortex - m4f ,cortex - m7f ,cortex - m7d ,cortex - m23 ,cortex - m33 ,cortex - m33f ,cortex - m35pf ,cortex - m55 ,cortex - m85
86+
11187 upload - package :
11288 needs :
11389 - verify - linux - x86_64
11490 - verify - linux - arm
11591 - verify - macos - 15 - arm
11692 - verify - windows - x86_64
117- - verify - linux - x86_64_cortex - m0
118- - verify - linux - x86_64_cortex - m0plus
119- - verify - linux - x86_64_cortex - m1
120- - verify - linux - x86_64_cortex - m3
121- - verify - linux - x86_64_cortex - m4
122- - verify - linux - x86_64_cortex - m4f
123- - verify - linux - x86_64_cortex - m7d
124- - verify - linux - x86_64_cortex - m23
93+ - cortex - m_gcc
12594
12695 if : ${{ startsWith (github .ref , 'refs/tags/' ) }}
12796 uses : ./ .github / workflows / upload .yml
12897 secrets : inherit
12998 with :
130- version : ${{ inputs .VERSION }}
99+ version : ${{ inputs .version }}
0 commit comments