Skip to content

Commit 4b2df16

Browse files
committed
Another refactor
1 parent 2feb4dd commit 4b2df16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ fi
1616
echo "::group::Install a virtualenv"
1717
source multibuild/common_utils.sh
1818
source multibuild/travis_steps.sh
19-
python3 -m pip install virtualenv
19+
python3 -m pip install virtualenv tomli
20+
export BUILD_DEPENDS=$(python3 ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR})
21+
export TEST_DEPENDS=$(python3 ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} -p test)
2022
before_install
2123
echo "::endgroup::"
2224

2325
echo "::group::Build wheel"
2426
export WHEEL_SDIR=wheelhouse
25-
python -m pip install tomli
2627
export BUILD_DEPENDS=$(python ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR})
2728
clean_code
2829
build_wheel
@@ -32,7 +33,6 @@ echo "::endgroup::"
3233
if [[ $PLAT != "arm64" ]]; then
3334
# arm will not install on Github Workflows x86 architecture.
3435
echo "::group::Test wheel"
35-
export TEST_DEPENDS=$($PYTHON_EXE ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} -p test)
3636
install_run
3737
echo "::endgroup::"
3838
fi

0 commit comments

Comments
 (0)