-
Notifications
You must be signed in to change notification settings - Fork 368
75 lines (67 loc) · 2.17 KB
/
reusable_publish_rerun_c.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
75
name: Build and Publish C/C++ SDKs
on:
workflow_call:
inputs:
concurrency:
type: string
required: true
release-version:
description: "Release Version Number (Must match Cargo.toml)"
type: string
required: true
release-commit:
description: "Which commit to build+publish"
type: string
required: true
permissions:
contents: "read"
id-token: "write"
jobs:
linux-arm64:
name: "Linux-Arm64"
uses: ./.github/workflows/reusable_build_and_upload_rerun_c.yml
with:
CONCURRENCY: publish-rerun-c-linux-arm64-${{ github.ref_name }}
PLATFORM: linux-arm64
RELEASE_COMMIT: ${{ inputs.release-commit }}
secrets: inherit
linux-x64:
name: "Linux-x64"
uses: ./.github/workflows/reusable_build_and_upload_rerun_c.yml
with:
CONCURRENCY: publish-rerun-c-linux-x64-${{ github.ref_name }}
PLATFORM: linux-x64
RELEASE_COMMIT: ${{ inputs.release-commit }}
secrets: inherit
macos-x64:
name: "Mac-Intel"
uses: ./.github/workflows/reusable_build_and_upload_rerun_c.yml
with:
CONCURRENCY: publish-rerun-c-macos-x64-${{ github.ref_name }}
PLATFORM: macos-x64
RELEASE_COMMIT: ${{ inputs.release-commit }}
secrets: inherit
macos-arm64:
name: "Mac-Arm"
uses: ./.github/workflows/reusable_build_and_upload_rerun_c.yml
with:
CONCURRENCY: publish-rerun-c-macos-arm64-${{ github.ref_name }}
PLATFORM: macos-arm64
RELEASE_COMMIT: ${{ inputs.release-commit }}
secrets: inherit
windows-x64:
name: "Windows-x64"
uses: ./.github/workflows/reusable_build_and_upload_rerun_c.yml
with:
CONCURRENCY: publish-rerun-c-windows-${{ github.ref_name }}
PLATFORM: windows-x64
RELEASE_COMMIT: ${{ inputs.release-commit }}
secrets: inherit
bundle-and-upload-rerun_cpp:
name: "Bundle and upload rerun_cpp_sdk.zip"
needs: [linux-arm64, linux-x64, macos-x64, macos-arm64, windows-x64]
uses: ./.github/workflows/reusable_bundle_and_upload_rerun_cpp.yml
with:
CONCURRENCY: bundle-rerun-c-${{ github.ref_name }}
RELEASE_COMMIT: ${{ inputs.release-commit }}
secrets: inherit