Skip to content

Commit e29eccd

Browse files
apaillier-ledgeriartemov-ledger
authored andcommitted
New workflow to trigger the build of clang rt builtins
1 parent 2b59d08 commit e29eccd

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Build clang runtime builtins
2+
on:
3+
workflow_dispatch:
4+
# TODO: remove this next line before merging!
5+
push:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
container:
11+
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
target:
16+
- core: cortex-m3
17+
se: st33
18+
- core: cortex-m35p+nodsp
19+
se: st33k1
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
# TODO: remove this next line before merging!
25+
ref: feat/apa/clangrt
26+
sparse-checkout: |
27+
tools/build_clangrt_builtins.sh
28+
sparse-checkout-cone-mode: false
29+
30+
- run: ./tools/build_clangrt_builtins.sh -t ${{ matrix.target.core }} -o artifact/arch/${{ matrix.target.se }}/lib
31+
32+
- uses: actions/upload-artifact@v4
33+
with:
34+
name: arch-${{ matrix.target.se }}
35+
path: artifact/
36+
37+
merge:
38+
needs: build
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/upload-artifact/merge@v4
42+
with:
43+
name: arch
44+
pattern: arch-*
45+
delete-merged: true

0 commit comments

Comments
 (0)