Skip to content

Commit

Permalink
Build and test against 2.27.0-rc3
Browse files Browse the repository at this point in the history
  • Loading branch information
dudoslav committed Nov 22, 2024
1 parent dcdc749 commit 9048f71
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ on:
type: boolean
default: false
push:
tags:
- "*"
# tags:
# - "*"

env:
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_TILEDB: ${{ inputs.version }}
Expand Down Expand Up @@ -136,30 +136,30 @@ jobs:
pip uninstall -y pandas
pytest -vv --showlocals $PROJECT_CWD
upload_pypi:
needs: [build_wheels, test_sdist]
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
outputs:
package_version: ${{ steps.get_package_version.outputs.package_version }}
steps:
- uses: actions/download-artifact@v4
with:
path: dist
merge-multiple: true

- id: get_package_version
run: |
echo "package_version=$(ls dist/ | head -n 1 | cut -d - -f 2)" >> "$GITHUB_OUTPUT"
- name: Upload to test-pypi
if: inputs.test_pypi
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/

- name: Upload to pypi
if: startsWith(github.ref, 'refs/tags/')
uses: pypa/gh-action-pypi-publish@release/v1
# upload_pypi:
# needs: [build_wheels, test_sdist]
# runs-on: ubuntu-latest
# environment: pypi
# permissions:
# id-token: write
# outputs:
# package_version: ${{ steps.get_package_version.outputs.package_version }}
# steps:
# - uses: actions/download-artifact@v4
# with:
# path: dist
# merge-multiple: true
#
# - id: get_package_version
# run: |
# echo "package_version=$(ls dist/ | head -n 1 | cut -d - -f 2)" >> "$GITHUB_OUTPUT"
#
# - name: Upload to test-pypi
# if: inputs.test_pypi
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# repository-url: https://test.pypi.org/legacy/
#
# - name: Upload to pypi
# if: startsWith(github.ref, 'refs/tags/')
# uses: pypa/gh-action-pypi-publish@release/v1
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ if (NOT TileDB_FOUND)
message(STATUS "Downloading TileDB default version ...")
# Download latest release
fetch_prebuilt_tiledb(
VERSION 2.26.2
RELLIST_HASH SHA256=86c19d7c5246cb18e370a4272cead63ea84bd651789842e618de4d57d4510522
VERSION 2.27.0-rc3
RELLIST_HASH SHA256=cfe40c6ec0fd60c3df18833019a1239543b630553bf01a3016997176f86bd9a5
)
endif()
find_package(TileDB REQUIRED)
Expand Down

0 comments on commit 9048f71

Please sign in to comment.