Skip to content

Commit 85e24d6

Browse files
WIP workflow
1 parent 70610be commit 85e24d6

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Build clang runtime builtins
2+
on:
3+
workflow_dispatch:
4+
push:
5+
6+
jobs:
7+
build:
8+
name: 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+
ref: feat/apa/clangrt
25+
sparse-checkout: |
26+
tools/build_clangrt_builtins.sh
27+
sparse-checkout-cone-mode: false
28+
29+
- run: ./tools/build_clangrt_builtins.sh -t ${{ matrix.target.core }} -o arch/${{ matrix.target.se }}/lib
30+
31+
- run: find
32+
33+
- uses: actions/upload-artifact@v4
34+
with:
35+
name: output-${{ matrix.target.se }}
36+
path: arch/
37+
38+
build:
39+
name: merge
40+
needs: build
41+
runs-on: ubuntu-latest
42+
steps:
43+
- uses: actions/upload-artifact/merge@v4
44+
with:
45+
name: output
46+
pattern: output-*
47+
delete-merged: true

0 commit comments

Comments
 (0)