Skip to content

[DO NOT MERGE] for testing purposes only #329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
161 changes: 0 additions & 161 deletions .github/workflows/build_linux_arm64_wheels-gh.yml

This file was deleted.

160 changes: 0 additions & 160 deletions .github/workflows/build_linux_x86_wheels.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build macOS X86
name: Build macOS arm64

on:
workflow_dispatch:
Expand All @@ -13,6 +13,11 @@ on:
- main
paths-ignore:
- '**/*.md'
pull_request:
branches:
- main
paths-ignore:
- '**/*.md'

jobs:
build_wheels_macos_13:
Expand All @@ -21,8 +26,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ macos-13 ]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
os: [ macos-14 ]
python-version: ["3.12"]
env:
RUNNER_OS: ${{ matrix.os }}
PYTHON_VERSION: ${{ matrix.python-version }}
Expand Down Expand Up @@ -115,7 +120,7 @@ jobs:
make wheel
- name: Fix wheel platform tag
run: |
python3 -m wheel tags --platform-tag=macosx_10_15_x86_64 --remove dist/*.whl
python3 -m wheel tags --platform-tag=macosx_11_0_arm64 --remove dist/*.whl
- name: Run tests
run: |
python3 -m pip install dist/*.whl
Expand All @@ -136,19 +141,19 @@ jobs:
if: matrix.python-version == '3.12'
run: |
cp programs/local/chdb.h chdb.h
tar -czvf macos-x86_64-libchdb.tar.gz libchdb.so chdb.h
tar -czvf macos-aarch64-libchdb.tar.gz libchdb.so chdb.h
- name: Upload libchdb.so to release
if: startsWith(github.ref, 'refs/tags/v') && matrix.python-version == '3.12'
run: |
gh release upload ${{ github.ref_name }} macos-x86_64-libchdb.tar.gz --clobber
gh release upload ${{ github.ref_name }} macos-aarch64-libchdb.tar.gz --clobber
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- uses: actions/upload-artifact@v4
with:
name: chdb-artifacts-macos-x86_64-${{ matrix.python-version }}
name: chdb-artifacts-macos-aarch64-${{ matrix.python-version }}
path: |
./dist/*.whl
./macos-x86_64-libchdb.tar.gz
./macos-aarch64-libchdb.tar.gz
overwrite: true
- name: Upload pypi
if: startsWith(github.ref, 'refs/tags/v')
Expand All @@ -158,4 +163,3 @@ jobs:
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

Loading
Loading