Skip to content

Commit 9f915ea

Browse files
DEBUG: PR with clangrt
1 parent 090e5e7 commit 9f915ea

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

.github/workflows/build_clangrt_builtins.yml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: Build clang runtime builtins
22
on:
33
workflow_dispatch:
4+
target_sdk_branch:
5+
type: string
6+
required: false
7+
default: 'master'
8+
create_pr:
9+
type: boolean
10+
required: false
11+
default: false
12+
413
# TODO: remove this next line before merging!
514
push:
615

@@ -22,7 +31,7 @@ jobs:
2231
- uses: actions/checkout@v4
2332
with:
2433
# TODO: remove this next line before merging!
25-
ref: feat/apa/clangrt
34+
ref: feat/regain_control_over_libs
2635
sparse-checkout: |
2736
tools/build_clangrt_builtins.sh
2837
sparse-checkout-cone-mode: false
@@ -43,3 +52,26 @@ jobs:
4352
name: arch
4453
pattern: arch-*
4554
delete-merged: true
55+
56+
pr_create:
57+
needs: merge
58+
runs-on: ubuntu-latest
59+
name: "Pull Request Create"
60+
if: ${{ success() && inputs.create_pr }}
61+
continue-on-error: true
62+
steps:
63+
- name: Clone repository
64+
uses: actions/checkout@v4
65+
with:
66+
# by default the action uses fetch-depth = 1, which creates
67+
# shallow repositories from which we can't push
68+
fetch-depth: 0
69+
ref: ${{ inputs.target_sdk_branch }}
70+
71+
- name: Download Binaries artifact
72+
uses: actions/download-artifact@v4
73+
with:
74+
name: arch
75+
76+
- name: Print matrix
77+
run: ls -l

0 commit comments

Comments
 (0)