Skip to content

Commit 6afbda4

Browse files
WIP workflow
1 parent 70610be commit 6afbda4

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+
push:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
container:
10+
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
target:
15+
- core: cortex-m3
16+
se: st33
17+
- core: cortex-m35p+nodsp
18+
se: st33k1
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
with:
23+
ref: feat/apa/clangrt
24+
sparse-checkout: |
25+
tools/build_clangrt_builtins.sh
26+
sparse-checkout-cone-mode: false
27+
28+
- run: ./tools/build_clangrt_builtins.sh -t ${{ matrix.target.core }} -o arch/${{ matrix.target.se }}/lib
29+
30+
- run: find
31+
32+
- uses: actions/upload-artifact@v4
33+
with:
34+
name: output-${{ matrix.target.se }}
35+
path: arch/
36+
37+
merge:
38+
needs: build
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/upload-artifact/merge@v4
42+
with:
43+
name: output
44+
pattern: output-*
45+
delete-merged: true

0 commit comments

Comments
 (0)