Skip to content

Commit

Permalink
Override extension-ci-tools also in JSON generation
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Oct 7, 2024
1 parent 01f18f6 commit 46fe8f1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/_extension_distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,14 @@ jobs:
fetch-depth: 0
submodules: 'true'

- uses: actions/checkout@v4
name: Checkout Extension CI tools
with:
path: 'extension-ci-tools'
ref: ${{ inputs.ci_tools_version }}
repository: ${{ inputs.override_ci_tools_repository }}
fetch-depth: 0

- name: Checkout DuckDB to version
run: |
DUCKDB_GIT_VERSION=${{ inputs.duckdb_tag }} make set_duckdb_version
Expand All @@ -153,7 +161,7 @@ jobs:
- id: parse-matrices
run: |
mkdir build
make output_distribution_matrix > build/distribution_matrix.json
make output_distribution_matrix | tail -n +2 > build/distribution_matrix.json
python3 ${{ inputs.matrix_parse_script }} --input build/distribution_matrix.json --select_os linux --output build/linux_matrix.json --exclude "${{ inputs.exclude_archs }}" --pretty
python3 ${{ inputs.matrix_parse_script }} --input build/distribution_matrix.json --select_os osx --output build/osx_matrix.json --exclude "${{ inputs.exclude_archs }}" --pretty
python3 ${{ inputs.matrix_parse_script }} --input build/distribution_matrix.json --select_os windows --output build/windows_matrix.json --exclude "${{ inputs.exclude_archs }}" --pretty
Expand Down
2 changes: 1 addition & 1 deletion makefiles/duckdb_extension.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@ set_duckdb_tag:
git tag $(DUCKDB_TAG)

output_distribution_matrix:
cat ./duckdb/.github/config/distribution_matrix.json
cat duckdb/.github/config/distribution_matrix.json

0 comments on commit 46fe8f1

Please sign in to comment.