Spracherkennung für: .yml vermutete Sprache: Fortran {Fortran[42] Masm[24] MT940[20]} [Methode: maximale Elemente, drei Dimensionen]
name: ci dev
on:
workflow_dispatch:
inputs:
tools_branch_ref:
description: ref for tools checkout (defaults to 'this commit')
required: false
type: string
default: ''
pr_branch_ref:
description: ref for building-branch checkout (defaults to 'this commit')
required: false
type: string
default: ''
run_post_ci:
description: Run the post-CI job?
required: false
type: boolean
default: false # We shouldn't need this job in typical experiments
# Limit permissions for GITHUB_TOKEN for the entire workflow
permissions:
contents: read
id-token: write
actions: read # read-only: download master artifacts (tools-bin, cache-snapshot)
pull-requests: read # Match build_template's reporter; CI experiments cannot write PRs.
jobs:
build:
name: ci (dev branch)
# For sanity and intentionality, let's only trigger this from branches ci-dev/*
if: ${{ github.repository == 'leanprover-community/mathlib4' && github.ref_type == 'branch' && startsWith(github.ref_name, 'ci-dev/') }}
uses: ./.github/workflows/build_template.yml
with:
concurrency_group: ${{ github.workflow }}-${{ github.ref }}
# Use the tools from 'this branch', as our changes in the tools might be relevant for experiments
tools_branch_ref: ${{ inputs.tools_branch_ref != '' && inputs.tools_branch_ref || github.sha }}
pr_branch_ref: ${{ inputs.pr_branch_ref != '' && inputs.pr_branch_ref || github.sha }}
run_post_ci: ${{ inputs.run_post_ci }}
# The ref inputs choose the code that holds the upload credential, so
# the environment requires a CI admin to approve each run.
cache_environment: cache-upload-ci-dev
runs_on: pr
secrets: inherit
[Dauer der Verarbeitung: 0.3 Sekunden, vorverarbeitet 2026-11-18]