提交 3f010892 编写于 作者: A Andrey Senyaev

Removed env variables and defined CI_BUILD variable globally

上级 76a6fb24
...@@ -27,6 +27,7 @@ jobs: ...@@ -27,6 +27,7 @@ jobs:
build_sdist: [0] build_sdist: [0]
env: env:
CI_BUILD: 1
SDIST: ${{ matrix.build_sdist || 0 }} SDIST: ${{ matrix.build_sdist || 0 }}
ENABLE_HEADLESS: ${{ matrix.without_gui }} ENABLE_HEADLESS: ${{ matrix.without_gui }}
ENABLE_CONTRIB: ${{ matrix.with_contrib }} ENABLE_CONTRIB: ${{ matrix.with_contrib }}
...@@ -49,7 +50,7 @@ jobs: ...@@ -49,7 +50,7 @@ jobs:
echo $ENABLE_CONTRIB > contrib.enabled echo $ENABLE_CONTRIB > contrib.enabled
echo $ENABLE_HEADLESS > headless.enabled echo $ENABLE_HEADLESS > headless.enabled
export MACOSX_DEPLOYMENT_TARGET=11.0 export MACOSX_DEPLOYMENT_TARGET=11.0
arch -arm64 -e SDIST=${{ matrix.build_sdist }} -e ENABLE_HEADLESS=${{ matrix.without_gui }} -e ENABLE_CONTRIB=${{ matrix.with_contrib }} python${{ matrix.python-version }} -m pip wheel --wheel-dir=wheelhouse . --verbose arch -arm64 python${{ matrix.python-version }} -m pip wheel --wheel-dir=wheelhouse . --verbose
delocate-wheel ${{ github.workspace }}/wheelhouse/opencv* delocate-wheel ${{ github.workspace }}/wheelhouse/opencv*
- name: before test - name: before test
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册