Skip to content

Commit c64f53d

Browse files
nit
1 parent a13e464 commit c64f53d

2 files changed

Lines changed: 14 additions & 10 deletions

File tree

.github/workflows/prerelease.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
push:
1919
branches:
2020
- main
21+
pull_request:
2122

2223
permissions:
2324
contents: read
@@ -138,11 +139,14 @@ jobs:
138139
echo $GLIBC_VERSION
139140
sed "s/^MANYLINUX_VERSION.*/MANYLINUX_VERSION=\"manylinux_${GLIBC_VERSION}_x86_64.manylinux2014_x86_64\"/" BUILD -i || true
140141
bazel build --define GLIBC_VERSION=$GLIBC_VERSION --define TARGET_VERSION="$(python -c "print(\"py${TARGET_PYTHON}\".replace(\".\", \"\"))")" --define VERSION="$(cat version/version.txt)" :tesseract_decoder_wheel
142+
141143

142-
143-
- name: Test with new config
144+
- name: Test
144145
run: |
145-
pip install pytest sinter
146+
pip install pytest sinter auditwheel
147+
148+
auditwheel show $(bazel-bin/*.whl)
149+
146150
pip install bazel-bin/*.whl
147151
148152
mv src/py/ src/_lib # rename because `py` causes pytest issues.
@@ -180,9 +184,9 @@ jobs:
180184
verbose: true
181185

182186

183-
- name: Publish package to pypi
184-
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e
185-
with:
186-
user: __token__
187-
password: ${{ secrets.PYPI_TOKEN }}
188-
packages_dir: wheelhouse/
187+
# - name: Publish package to pypi
188+
# uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e
189+
# with:
190+
# user: __token__
191+
# password: ${{ secrets.PYPI_TOKEN }}
192+
# packages_dir: wheelhouse/

devtools/build_with_custom_toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# 1. Start a temporary background container named 'sysroot-builder'
2-
docker run -d --name sysroot-builder debian:11.11 sleep 3600
2+
docker run -d --name sysroot-builder debian:10 sleep 3600
33

44
# 2. Run the installation and packaging process inside the container
55
docker exec sysroot-builder bash -c "

0 commit comments

Comments
 (0)