-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from yobix-ai/25-make-reflection-data-platform…
…-specific 25 make reflection data platform specific
- Loading branch information
Showing
24 changed files
with
18,259 additions
and
6,810 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# This file was autogenerated by maturin v1.6.0 using: | ||
# maturin generate-ci github -o ../../.github/workflows/release_pyton_pytest.yml --pytest | ||
# | ||
# Then adapted to to the project | ||
# Then adapted to the project | ||
# | ||
name: CI | ||
|
||
|
@@ -37,7 +37,7 @@ jobs: | |
with: | ||
python-version: '3.8' | ||
|
||
# On linux we dont use graalvm/[email protected].2 action to install graalvm because it will install it | ||
# On linux we don't use graalvm/[email protected].5 action to install graalvm because it will install it | ||
# on the runner machine and on linux the build will happen inside a manylinux docker. | ||
# Instead, we use a script to install graalvm inside the docker container | ||
# the script is launched by setting the before-script-linux config option of the maturin action | ||
|
@@ -50,9 +50,8 @@ jobs: | |
sccache: 'false' | ||
target: ${{ matrix.platform.target }} | ||
container: quay.io/pypa/manylinux_2_28_${{ matrix.platform.target }}:latest | ||
#before-script-linux: .github/workflows/install-openssl.sh | ||
before-script-linux: .github/workflows/install-graalvm-sdkman.sh 22.0.1-graalce | ||
docker-options: "-e JAVA_HOME=/root/.sdkman/candidates/java/22.0.1-graalce -e GRAALVM_HOME=/root/.sdkman/candidates/java/22.0.1-graalce" | ||
before-script-linux: .github/workflows/install-graalvm-sdkman.sh 23.0.1-graalce | ||
docker-options: "-e JAVA_HOME=/root/.sdkman/candidates/java/23.0.1-graalce -e GRAALVM_HOME=/root/.sdkman/candidates/java/23.0.1-graalce" | ||
#docker-options: "--mount type=bind,source=/opt/hostedtoolcache,target=/opt/hostedtoolcache -e JAVA_HOME -e GRAALVM_HOME" | ||
|
||
# On linux we don't need to patch the wheel as the RPATH is set by the rustc compiler | ||
|
@@ -107,9 +106,9 @@ jobs: | |
with: | ||
python-version: '3.8' | ||
architecture: ${{ matrix.platform.target }} | ||
- uses: graalvm/[email protected].2 | ||
- uses: graalvm/[email protected].5 | ||
with: | ||
java-version: '22' | ||
java-version: '23' | ||
distribution: 'graalvm-community' | ||
set-java-home: 'true' | ||
- name: Build wheels | ||
|
@@ -126,14 +125,13 @@ jobs: | |
path: bindings/extractous-python/dist | ||
- name: pytest | ||
if: ${{ !startsWith(matrix.platform.target, 'aarch64') }} | ||
shell: cmd | ||
run: | | ||
python -m venv .venv | ||
.venv\Scripts\activate.bat | ||
pip install extractous --find-links bindings/extractous-python/dist --no-index --force-reinstall | ||
pip install pytest scikit-learn | ||
cd bindings\extractous-python | ||
pytest -s | ||
pytest -s . | ||
macos: | ||
runs-on: ${{ matrix.platform.runner }} | ||
|
@@ -149,11 +147,17 @@ jobs: | |
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.8' | ||
- uses: graalvm/[email protected] | ||
with: | ||
java-version: '22' | ||
distribution: 'liberica' | ||
set-java-home: 'true' | ||
|
||
# - uses: graalvm/[email protected] | ||
# with: | ||
# java-version: '23' | ||
# distribution: 'liberica' | ||
# set-java-home: 'true' | ||
# - name: Install graalvm | ||
# run: | | ||
# set -e | ||
# bash .github/workflows/install-graalvm-sdkman-macos.sh 24.1.1.r23-nik | ||
|
||
- name: Build wheels | ||
uses: PyO3/maturin-action@v1 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.