|
6 | 6 | - develop |
7 | 7 | - v1 |
8 | 8 | - v3 |
9 | | - pull_request: |
10 | | - workflow_dispatch: {} |
| 9 | + pull_request: {} |
| 10 | + workflow_dispatch: |
| 11 | + inputs: |
| 12 | + proof_systems_commit: |
| 13 | + description: 'proof_systems commit to use' |
| 14 | + required: false |
| 15 | + default: '' |
| 16 | + workflow_call: |
| 17 | + inputs: |
| 18 | + proof_systems_commit: |
| 19 | + description: 'proof_systems commit to use' |
| 20 | + required: false |
| 21 | + type: string |
| 22 | + default: '' |
| 23 | + target_repo: |
| 24 | + required: false |
| 25 | + type: string |
| 26 | + target_ref: |
| 27 | + required: false |
| 28 | + type: string |
11 | 29 |
|
12 | 30 | concurrency: |
13 | 31 | group: ${{ github.workflow }}-${{ github.ref }} |
|
26 | 44 | submodules: recursive |
27 | 45 | - name: Build |
28 | 46 | uses: ./.github/actions/build |
| 47 | + with: |
| 48 | + repository: ${{ inputs.target_repo || github.repository }} |
| 49 | + ref: ${{ inputs.target_ref || github.ref }} |
29 | 50 |
|
30 | 51 | Lint-Format-and-TypoCheck: |
31 | 52 | strategy: |
|
81 | 102 |
|
82 | 103 | Upload-bindings: |
83 | 104 | name: upload bindings artifact |
| 105 | + if: ${{ inputs.proof_systems_commit == '' }} |
84 | 106 | needs: [Prepare] |
85 | 107 | runs-on: ubuntu-latest |
86 | 108 | steps: |
@@ -120,6 +142,9 @@ jobs: |
120 | 142 |
|
121 | 143 | - name: build |
122 | 144 | uses: ./.github/actions/build |
| 145 | + with: |
| 146 | + repository: ${{ inputs.target_repo || github.repository }} |
| 147 | + ref: ${{ inputs.target_ref || github.ref }} |
123 | 148 | - name: Prepare for tests |
124 | 149 | run: touch profiling.md |
125 | 150 | - name: Execute tests |
@@ -148,6 +173,9 @@ jobs: |
148 | 173 | submodules: recursive |
149 | 174 | - name: build |
150 | 175 | uses: ./.github/actions/build |
| 176 | + with: |
| 177 | + repository: ${{ inputs.target_repo || github.repository }} |
| 178 | + ref: ${{ inputs.target_ref || github.ref }} |
151 | 179 | - name: Count tests |
152 | 180 | id: count_tests |
153 | 181 | run: | |
@@ -281,6 +309,9 @@ jobs: |
281 | 309 | uses: actions/checkout@v4 |
282 | 310 | - name: build |
283 | 311 | uses: ./.github/actions/build |
| 312 | + with: |
| 313 | + repository: ${{ inputs.target_repo || github.repository }} |
| 314 | + ref: ${{ inputs.target_ref || github.ref }} |
284 | 315 | - name: Use shared steps for live testing jobs |
285 | 316 | uses: ./.github/actions/live-tests-shared |
286 | 317 | with: |
@@ -309,6 +340,9 @@ jobs: |
309 | 340 | uses: actions/checkout@v4 |
310 | 341 | - name: build |
311 | 342 | uses: ./.github/actions/build |
| 343 | + with: |
| 344 | + repository: ${{ inputs.target_repo || github.repository }} |
| 345 | + ref: ${{ inputs.target_ref || github.ref }} |
312 | 346 | - name: Use shared steps for live testing jobs |
313 | 347 | uses: ./.github/actions/live-tests-shared |
314 | 348 | with: |
|
0 commit comments