-
-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (37 loc) · 967 Bytes
/
pull_request.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Verify tests pass and builds succeed for pull requests.
name: Verify Pull Request
on:
# Enable manual run
workflow_dispatch:
pull_request:
concurrency:
group: ci-verify-pr-${{ github.ref }}-1
cancel-in-progress: true
jobs:
call-tests:
uses: ./.github/workflows/tests.yml
call-build-linux:
needs: call-tests
uses: ./.github/workflows/build-linux.yml
with:
pre-release: true
secrets: inherit
call-build-windows:
needs: call-tests
uses: ./.github/workflows/build-windows.yml
with:
pre-release: true
secrets: inherit
call-build-android:
needs: call-tests
uses: ./.github/workflows/build-android.yml
with:
pre-release: true
secrets: inherit
verify-pull-request:
name: Verify Pull Request
needs:
[call-tests, call-build-linux, call-build-windows, call-build-android]
runs-on: ubuntu-latest
steps:
- run: echo "Requirements passed, PR looks good!"