项目文件夹

文件
2026-07-13 13:05:14 +08:00

68 行
1.9 KiB
YAML

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"
packages: "read"
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-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-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