Skip to content
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

FIXME: testing windows build #416

Draft
wants to merge 1 commit 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
67 changes: 67 additions & 0 deletions .github/workflows/windows_wheels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: windows_build

on:
[push]

jobs:
build-windows:
runs-on: windows-latest
strategy:
matrix:
python-version: [3.9] #["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Build package
run: tools/build.bat

- name: Save package for following jobs
uses: actions/upload-artifact@v3
with:
name: dist-windows-${{ matrix.python-version }}
path: dist


# test-install:
# needs: [build-windows]
# strategy:
# matrix:
# python-version: [3.9] #["3.8", "3.9", "3.10", "3.11"]
# platform:
# [
# { runner: ubuntu-latest, artifact: ubuntu },
# { runner: macos-12-large, artifact: macos12-intel },
# { runner: macos-13-large, artifact: macos13-intel },
# { runner: macos-14-large, artifact: macos14-intel },
# ]
# runs-on: ${{ matrix.platform.runner }}
# env:
# # Workaround for macos pip compatibility issue
# # See https://github.com/actions/setup-python/issues/469
# SYSTEM_VERSION_COMPAT: 0
# steps:
# - name: Checkout
# uses: actions/checkout@v3

# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}

# - name: Download build
# uses: actions/download-artifact@v3
# with:
# name: dist-${{ matrix.platform.artifact }}-${{ matrix.python-version }}
# path: dist

# - name: Install from wheel
# run: pip install dist/*.whl

# - name: Test installation
# run: python tools/check_install.py
2 changes: 1 addition & 1 deletion config/setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import setuptools
from setuptools.dist import Distribution

_VERSION = "0.7.0"
_VERSION = "0.8.1"


class _BinaryDistribution(Distribution):
Expand Down
6 changes: 4 additions & 2 deletions tools/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ cls
setlocal

set TEMPORIAN_VERSION=0.8.1

set BAZEL=bazel.exe
:: You can pass BAZEL flags here e.g. set BAZEL=bazel.exe --output_user_root=C:\src\tmp_bazel

Expand All @@ -37,7 +36,10 @@ exit /b %errorlevel%
:: Runs the full build+test+pip for a specific version of python.
:End2End
set PYTHON_VERSION=%~1
set PYTHON_DIR=C:/Python%PYTHON_VERSION%
:: FIXME
:: GA python path: C:\hostedtoolcache\windows\Python\3.9.13\x64\python.exe
:: set PYTHON_DIR=C:/Python%PYTHON_VERSION%
set PYTHON_DIR=C:/hostedtoolcache/windows/Python/3.9.13/x64
set PYTHON=%PYTHON_DIR%/python.exe
set PYTHON3_BIN_PATH=%PYTHON%
set PYTHON3_LIB_PATH=%PYTHON_DIR%/Lib
Expand Down
Loading