mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
Update build.yml
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -429,10 +429,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "before anything..."
|
echo "before anything..."
|
||||||
"${PYTHON}" -m pip list
|
"${PYTHON}" -m pip list
|
||||||
"${PYTHON}" -m pip install --upgrade -r requirements.txt
|
|
||||||
echo "after requirements..."
|
|
||||||
"${PYTHON}" -m pip list
|
|
||||||
if [[ "${RUNNER_OS}" == "macOS" ]]; then
|
if [[ "${RUNNER_OS}" == "macOS" ]]; then
|
||||||
|
"${PYTHON}" -m pip install --upgrade --no-binary :all: -r requirements.txt
|
||||||
|
echo "after requirements..."
|
||||||
|
"${PYTHON}" -m pip list
|
||||||
# cffi is a dep of cryptography and doesn't ship
|
# cffi is a dep of cryptography and doesn't ship
|
||||||
# a universal2 wheel so we must build one ourself :-/
|
# a universal2 wheel so we must build one ourself :-/
|
||||||
export CFLAGS="-arch x86_64 -arch arm64"
|
export CFLAGS="-arch x86_64 -arch arm64"
|
||||||
@@ -453,6 +453,9 @@ jobs:
|
|||||||
cryptography
|
cryptography
|
||||||
"${PYTHON}" -m pip install --force-reinstall --no-deps cryptography*.whl
|
"${PYTHON}" -m pip install --force-reinstall --no-deps cryptography*.whl
|
||||||
else
|
else
|
||||||
|
"${PYTHON}" -m pip install --upgrade -r requirements.txt
|
||||||
|
echo "after requirements..."
|
||||||
|
"${PYTHON}" -m pip list
|
||||||
"${PYTHON}" -m pip install --force-reinstall --no-deps --upgrade cryptography
|
"${PYTHON}" -m pip install --force-reinstall --no-deps --upgrade cryptography
|
||||||
fi
|
fi
|
||||||
echo "after cryptography..."
|
echo "after cryptography..."
|
||||||
|
|||||||
Reference in New Issue
Block a user