mirror of
https://github.com/leon-ai/leon.git
synced 2024-11-24 04:31:31 +03:00
ci: add PIP_NO_BINARY
This commit is contained in:
parent
0efed9d5f3
commit
b0849c0046
10
.github/workflows/pre-release-python-bridge.yml
vendored
10
.github/workflows/pre-release-python-bridge.yml
vendored
@ -5,6 +5,7 @@ on: workflow_dispatch
|
||||
env:
|
||||
PIPENV_PIPFILE: bridges/python/src
|
||||
PIPENV_VENV_IN_PROJECT: true
|
||||
PIP_NO_BINARY: 'cx_Freeze'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -27,7 +28,8 @@ jobs:
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9.10
|
||||
# cache: pipenv
|
||||
cache: pipenv
|
||||
cache-dependency-path: bridges/python/src/Pipfile.lock
|
||||
|
||||
- name: Install Pipenv
|
||||
run: pip install --upgrade pip && pip install pipenv==2022.7.24
|
||||
@ -47,10 +49,6 @@ jobs:
|
||||
- name: Install core
|
||||
run: npm ci
|
||||
|
||||
- name: Setup MSBuild
|
||||
uses: microsoft/setup-msbuild@v1.1
|
||||
if: matrix.os == 'windows-latest'
|
||||
|
||||
- name: Setup Python bridge
|
||||
run: npm run setup:python-bridge
|
||||
|
||||
@ -75,8 +73,6 @@ jobs:
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9.10
|
||||
cache: pipenv
|
||||
cache-dependency-path: bridges/python/src/Pipfile.lock
|
||||
|
||||
- name: Set Python bridge version
|
||||
working-directory: bridges/python/src
|
||||
|
@ -140,7 +140,7 @@ SPACY_MODELS.set('fr', {
|
||||
}
|
||||
|
||||
try {
|
||||
let pipenvInstallCommand = `pipenv install --site-packages`
|
||||
let pipenvInstallCommand = `pipenv install --verbose --site-packages`
|
||||
|
||||
if (osType === OSTypes.Windows) {
|
||||
pipenvInstallCommand = `${pipenvInstallCommand} --skip-lock`
|
||||
|
Loading…
Reference in New Issue
Block a user