Verify test script exists and print test runner command #805
Workflow file for this run
This file contains hidden or 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
| # | |
| # This tests the extension-ci-tools works as expected | |
| # | |
| name: Test CI Tools | |
| on: | |
| push: | |
| paths-ignore: | |
| - '*.md' | |
| - '**/*.md' | |
| pull_request: | |
| paths-ignore: | |
| - '*.md' | |
| - '**/*.md' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }} | |
| cancel-in-progress: true | |
| jobs: | |
| code-quality: | |
| name: Code Quality | |
| uses: ./.github/workflows/_extension_code_quality.yml | |
| with: | |
| extension_name: quack | |
| override_repository: duckdb/extension-template | |
| override_ref: main | |
| duckdb_version: main | |
| override_ci_tools_repository: ${{ github.repository }} | |
| ci_tools_version: ${{ github.sha }} | |
| extra_toolchains: 'python3' | |
| extension-template-capi: | |
| name: Extension template (C API) | |
| uses: ./.github/workflows/_extension_distribution.yml | |
| with: | |
| extension_name: capi_quack | |
| override_repository: duckdb/extension-template-c | |
| override_ref: main | |
| duckdb_version: v1.5.1 | |
| override_ci_tools_repository: ${{ github.repository }} | |
| ci_tools_version: ${{ github.sha }} | |
| extra_toolchains: 'python3;unixodbc' | |
| # mingw arch below is not opt-in, included to check that it is allowed in the list | |
| opt_in_archs: 'windows_arm64;linux_amd64_musl;linux_arm64_musl;windows_amd64_mingw;' | |
| save_cache: ${{ github.event_name != 'pull_request' }} | |
| extension-template-custom-runners: | |
| name: Extension template (custom runners) | |
| uses: ./.github/workflows/_extension_distribution.yml | |
| with: | |
| extension_name: capi_quack | |
| artifact_postfix: custom-runners | |
| override_repository: duckdb/extension-template-c | |
| override_ref: main | |
| duckdb_version: v1.5.1 | |
| override_ci_tools_repository: ${{ github.repository }} | |
| ci_tools_version: ${{ github.sha }} | |
| runners: '{"linux_x64":"ubuntu-latest"}' | |
| exclude_archs: 'linux_arm64;osx_amd64;osx_arm64;wasm_eh;wasm_mvp;wasm_threads;windows_amd64_mingw;windows_amd64' | |
| save_cache: false | |
| post_build_command: | | |
| echo "matrix runner: $MATRIX_RUNNER" | |
| test "$MATRIX_RUNNER" = "ubuntu-latest" | |
| extension-template-main: | |
| name: Extension template | |
| uses: ./.github/workflows/_extension_distribution.yml | |
| needs: | |
| - extension-template-capi | |
| - code-quality | |
| with: | |
| extension_name: quack | |
| override_repository: duckdb/extension-template | |
| override_ref: main | |
| duckdb_version: v1.5.1 | |
| override_ci_tools_repository: ${{ github.repository }} | |
| ci_tools_version: ${{ github.sha }} | |
| extra_toolchains: 'parser_tools;fortran;omp;go;python3;downgraded_aws_cli;' | |
| reduced_ci_mode: disabled | |
| save_cache: ${{ github.event_name != 'pull_request' }} | |
| vcpkg_binary_sources: ${{ github.event_name == 'push' && vars.VCPKG_BINARY_SOURCES || '' }} | |
| upload_all_extensions: true | |
| extensions_test_selection: complete | |
| extra_extension_config: | | |
| duckdb_extension_load(json) | |
| duckdb_extension_load(tpch) | |
| secrets: inherit | |
| deploy-dry-run: | |
| name: Deploy workflow dry run | |
| needs: | |
| - extension-template-main | |
| uses: ./.github/workflows/_extension_deploy.yml | |
| with: | |
| extension_name: quack | |
| duckdb_version: v1.5.1 | |
| override_ci_tools_repository: ${{ github.repository }} | |
| ci_tools_version: ${{ github.sha }} | |
| deploy_script: /bin/true | |
| reduced_ci_mode: enabled | |
| extension-template-rust: | |
| name: Extension template (Rust) | |
| uses: ./.github/workflows/_extension_distribution.yml | |
| needs: | |
| - extension-template-capi | |
| - code-quality | |
| with: | |
| extension_name: rusty_quack | |
| override_repository: duckdb/extension-template-rs | |
| override_ref: main | |
| duckdb_version: v1.5.1 | |
| override_ci_tools_repository: ${{ github.repository }} | |
| ci_tools_version: ${{ github.sha }} | |
| extra_toolchains: 'rust;python3' | |
| exclude_archs: 'windows_amd64_mingw;wasm_mvp;wasm_eh;wasm_threads' # TODO: remove once fixed upstream | |
| save_cache: ${{ github.event_name != 'pull_request' }} | |
| delta-extension-main: | |
| name: Rust builds (using Delta extension) | |
| uses: ./.github/workflows/_extension_distribution.yml | |
| needs: | |
| - extension-template-capi | |
| - code-quality | |
| with: | |
| extension_name: delta | |
| override_repository: duckdb/duckdb_delta | |
| override_ref: main | |
| override_ci_tools_repository: ${{ github.repository }} | |
| ci_tools_version: ${{ github.sha }} | |
| duckdb_version: v1.5.1 | |
| exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_mingw;windows_amd64' | |
| extra_toolchains: 'rust' | |
| save_cache: ${{ github.event_name != 'pull_request' }} | |
| vcpkg_binary_sources: ${{ github.event_name == 'push' && vars.VCPKG_BINARY_SOURCES || '' }} | |
| reduced_ci_mode: enabled | |
| secrets: inherit |