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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
|
name: InvokeCI
on:
repository_dispatch:
workflow_dispatch:
inputs:
override_git_describe:
type: string
git_ref:
type: string
skip_tests:
type: string
run_all:
type: string
twine_upload:
type: string
concurrency:
group: invokeci-${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }}-${{ inputs.override_git_describe }}-${{ inputs.git_ref }}-${{ inputs.skip_tests }}
cancel-in-progress: true
jobs:
extensions:
uses: ./.github/workflows/Extensions.yml
secrets: inherit
with:
override_git_describe: ${{ inputs.override_git_describe }}
git_ref: ${{ inputs.git_ref }}
skip_tests: ${{ inputs.skip_tests }}
run_all: ${{ inputs.run_all }}
opt_in_archs: 'windows_arm64;linux_amd64_musl;linux_arm64_musl'
osx:
uses: ./.github/workflows/OSX.yml
secrets: inherit
with:
override_git_describe: ${{ inputs.override_git_describe }}
git_ref: ${{ inputs.git_ref }}
skip_tests: ${{ inputs.skip_tests }}
run_all: ${{ inputs.run_all }}
linux-release:
uses: ./.github/workflows/LinuxRelease.yml
secrets: inherit
with:
override_git_describe: ${{ inputs.override_git_describe }}
git_ref: ${{ inputs.git_ref }}
skip_tests: ${{ inputs.skip_tests }}
windows:
uses: ./.github/workflows/Windows.yml
secrets: inherit
with:
override_git_describe: ${{ inputs.override_git_describe }}
git_ref: ${{ inputs.git_ref }}
skip_tests: ${{ inputs.skip_tests }}
run_all: ${{ inputs.run_all }}
static-libraries:
uses: ./.github/workflows/BundleStaticLibs.yml
secrets: inherit
with:
override_git_describe: ${{ inputs.override_git_describe }}
git_ref: ${{ inputs.git_ref }}
skip_tests: ${{ inputs.skip_tests }}
prepare-status:
runs-on: ubuntu-latest
if: always()
needs:
- extensions
- osx
- linux-release
- windows
- static-libraries
outputs:
is-success: ${{ steps.set-output.outputs.success }}
steps:
- id: set-output
shell: bash
run: |
if [[ "${{ needs.extensions.result }}" == "success" && \
"${{ needs.osx.result }}" == "success" && \
"${{ needs.linux-release.result }}" == "success" && \
"${{ needs.windows.result }}" == "success" && \
"${{ needs.static-libraries.result }}" == "success" ]]; then
echo "success=true" >> $GITHUB_OUTPUT
else
echo "success=false" >> $GITHUB_OUTPUT
fi
notify-external-repos:
uses: ./.github/workflows/NotifyExternalRepositories.yml
secrets: inherit
needs: prepare-status
if: ${{ always() }}
with:
is-success: ${{ needs.prepare-status.outputs.is-success }}
target-branch: ${{ inputs.git_ref == '' && github.ref || inputs.git_ref }}
duckdb-sha: ${{ github.sha }}
triggering-event: ${{ github.event_name }}
should-publish: 'true'
override-git-describe: ${{ inputs.override_git_describe }}
|