Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsg committed Jul 9, 2024
1 parent b5d8711 commit 05795a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .kokoro/presubmit.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ for /r %%a in (*.whl) do xcopy "%%a" %KOKORO_ARTIFACTS_DIR% /i
goto :EOF

:error
exit /b 1
exit /b 1
8 changes: 5 additions & 3 deletions scripts/windows/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,20 @@ FOR %%P IN (3.8, 3.9, 3.10, 3.11, 3.12) DO (

py -%%P-64 -m pip install --upgrade pip

set PIP_TARGET=%cd%\%%P-install\
MKDIR %PIP_TARGET%
set TARGET=%cd%\%%P-install\
mkdir %TARGET%

echo "Installing cmake for Python %%P"
py -%%P-64 -m pip install cmake --target=%PIP_TARGET%
set cmake=%PIP_TARGET%\Scripts\cmake
set cmake=%TARGET%\Scripts\cmake

@rem Add directory as safe to avoid "detected dubious ownership" fatal issue
git config --global --add safe.directory %cd%
git config --global --add C:/tmpfs/src/github/python-crc32c
git submodule update --init --recursive

git config --global --add safe.directory %cd%\google_crc32c
git config --global --add C:/tmpfs/src/github/python-crc32c/google_crc32c
pushd google_crc32c
@rem reset hard to cleanup any changes done by a previous build.
git reset --hard
Expand Down

0 comments on commit 05795a3

Please sign in to comment.