Update documentation regarding example channels (#8232) #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push To Main | |
on: | |
push: | |
branches: | |
- "main" | |
# Can be triggered manually from within the UI or using the GH CLI, | |
# e.g. `gh workflow run on_push_main.yml --ref main` | |
workflow_dispatch: | |
inputs: | |
CONCURRENCY: | |
required: true | |
type: string | |
permissions: write-all | |
jobs: | |
checks: | |
name: Checks | |
uses: ./.github/workflows/reusable_checks.yml | |
with: | |
CONCURRENCY: push-${{ github.ref_name }}-${{ inputs.CONCURRENCY }} | |
CHANNEL: main | |
secrets: inherit | |
cpp_checks: | |
name: Checks | |
uses: ./.github/workflows/reusable_checks_cpp.yml | |
with: | |
CONCURRENCY: push-${{ github.ref_name }}-${{ inputs.CONCURRENCY }} | |
CHANNEL: main | |
secrets: inherit | |
rust_checks: | |
name: Checks | |
uses: ./.github/workflows/reusable_checks_rust.yml | |
with: | |
CONCURRENCY: push-${{ github.ref_name }}-${{ inputs.CONCURRENCY }} | |
CHANNEL: main | |
secrets: inherit | |
python_checks: | |
name: Checks | |
uses: ./.github/workflows/reusable_checks_python.yml | |
with: | |
CONCURRENCY: push-${{ github.ref_name }}-${{ inputs.CONCURRENCY }} | |
secrets: inherit | |
deploy-docs: | |
needs: [checks] | |
name: Deploy Docs | |
uses: ./.github/workflows/reusable_deploy_docs.yml | |
with: | |
CONCURRENCY: push-${{ github.ref_name }}-${{ inputs.CONCURRENCY }} | |
PY_DOCS_VERSION_NAME: "main" | |
CPP_DOCS_VERSION_NAME: "main" | |
RS_DOCS_VERSION_NAME: "head" | |
UPDATE_LATEST: false | |
secrets: inherit | |
build-web: | |
name: "Build web viewer" | |
uses: ./.github/workflows/reusable_build_web.yml | |
with: | |
CONCURRENCY: push-${{ github.ref_name }}-${{ inputs.CONCURRENCY }} | |
CHANNEL: main | |
secrets: inherit | |
upload-web: | |
name: "Upload Web" | |
needs: [build-web] | |
uses: ./.github/workflows/reusable_upload_web.yml | |
with: | |
CONCURRENCY: push-${{ github.ref_name }}-${{ inputs.CONCURRENCY }} | |
secrets: inherit | |
build-examples: | |
name: "Build Examples" | |
needs: [build-wheel-linux-x64] | |
uses: ./.github/workflows/reusable_build_examples.yml | |
with: | |
CONCURRENCY: push-${{ github.ref_name }}-${{ inputs.CONCURRENCY }} | |
CHANNEL: main | |
WHEEL_ARTIFACT_NAME: linux-x64-wheel | |
secrets: inherit | |
track-sizes: | |
name: "Track Sizes" | |
needs: [build-web, build-examples] | |
uses: ./.github/workflows/reusable_track_size.yml | |
with: | |
CONCURRENCY: push-${{ github.ref_name }}-${{ inputs.CONCURRENCY }} | |
WITH_EXAMPLES: true | |
secrets: inherit | |
upload-examples: | |
name: "Upload Examples" | |
needs: [build-examples] | |
uses: ./.github/workflows/reusable_upload_examples.yml | |
with: | |
CONCURRENCY: push-${{ github.ref_name }}-${{ inputs.CONCURRENCY }} | |
secrets: inherit | |
# ----------------------------------------------------------------------------------- | |
# TODO(emilk): build and test one additional platform, picked at random | |
build-rerun_c-and-upload-linux-x64: | |
needs: [checks] | |
name: "Linux-x64: Build & Upload rerun_c" | |
uses: ./.github/workflows/reusable_build_and_upload_rerun_c.yml | |
with: | |
CONCURRENCY: push-linux-x64-${{ github.ref_name }}-${{ inputs.CONCURRENCY }} | |
PLATFORM: linux-x64 | |
secrets: inherit | |
# ----------------------------------------------------------------------------------- | |
# TODO(emilk): build and test one additional platform, picked at random | |
build-rerun-cli-and-upload-linux-x64: | |
needs: [checks] | |
name: "Linux-x64: Build & Upload rerun-cli" | |
uses: ./.github/workflows/reusable_build_and_upload_rerun_cli.yml | |
with: | |
CONCURRENCY: push-linux-x64-${{ github.ref_name }}-${{ inputs.CONCURRENCY }} | |
PLATFORM: linux-x64 | |
secrets: inherit | |
# ----------------------------------------------------------------------------------- | |
# TODO(emilk): build and test one additional platform, picked at random | |
build-wheel-linux-x64: | |
needs: [checks, build-rerun-cli-and-upload-linux-x64] | |
name: "Linux-x64: Build & Upload Wheels" | |
uses: ./.github/workflows/reusable_build_and_upload_wheels.yml | |
with: | |
CONCURRENCY: push-linux-x64-${{ github.ref_name }}-${{ inputs.CONCURRENCY }} | |
PLATFORM: linux-x64 | |
WHEEL_ARTIFACT_NAME: linux-x64-wheel | |
MODE: "pypi" | |
secrets: inherit | |
test-wheel-linux-x64: | |
needs: [checks, build-wheel-linux-x64] | |
name: "Linux-x64: Test Wheels" | |
uses: ./.github/workflows/reusable_test_wheels.yml | |
with: | |
CONCURRENCY: push-linux-x64-${{ github.ref_name }}-${{ inputs.CONCURRENCY }} | |
PLATFORM: linux-x64 | |
WHEEL_ARTIFACT_NAME: linux-x64-wheel | |
secrets: inherit |