-
Notifications
You must be signed in to change notification settings - Fork 1
74 lines (65 loc) · 1.92 KB
/
ci-snapshot.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: Antibytes CI - Latest Version
on:
push:
branches:
- main
- release/*
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
build-linux:
uses: bitpogo/workflows/.github/workflows/shared-build-linux.yml@main
concurrency:
group: build-linux
cancel-in-progress: true
build-macos:
uses: bitpogo/workflows/.github/workflows/shared-build-macos.yml@main
concurrency:
group: build-macos
cancel-in-progress: true
coding-conventions:
needs: build-linux
uses: bitpogo/workflows/.github/workflows/shared-coding-conventions-linux.yml@main
with:
cache-reports: false
concurrency:
group: coding-conventions
cancel-in-progress: true
check:
needs: [ build-macos, build-linux ]
uses: bitpogo/workflows/.github/workflows/shared-test-kmp.yml@main
with:
platforms: "['ios', 'macos', 'tvos', 'watchos', 'linux-js', 'mingw']"
concurrency:
group: check
cancel-in-progress: true
coverage:
needs: coding-conventions
uses: bitpogo/workflows/.github/workflows/shared-coverage-linux.yml@main
with:
verify-kmp: true
restore-cached-reports: true
concurrency:
group: coverage
cancel-in-progress: true
docs:
needs: [ coverage, check ]
uses: bitpogo/workflows/.github/workflows/shared-mkdocs-snapshot.yml@main
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
concurrency:
group: docs
cancel-in-progress: true
publish:
needs: docs
uses: bitpogo/workflows/.github/workflows/shared-publish-snapshot.yml@main
secrets:
upload-username: ${{ secrets.PACKAGE_REGISTRY_UPLOAD_USERNAME }}
upload-token: ${{ secrets.PACKAGE_REGISTRY_UPLOAD_TOKEN }}
maven-key: ${{ secrets.MAVEN_GPG_KEY }}
maven-pass: ${{ secrets.MAVEN_GPG_PASS }}
concurrency:
group: publish
cancel-in-progress: true