mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Update build.yml
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -376,11 +376,10 @@ jobs:
|
|||||||
# echo "ARCHFLAGS=-arch arm64" >> $GITHUB_ENV
|
# echo "ARCHFLAGS=-arch arm64" >> $GITHUB_ENV
|
||||||
# ;;
|
# ;;
|
||||||
#esac
|
#esac
|
||||||
if [[ "${RUNNER_OS}" == "Windows" ]]; then
|
if [[ "${RUNNER_OS}" != "Windows" ]]; then
|
||||||
strip "${OPENSSL_INSTALL_PATH}/bin/openssl.exe"
|
|
||||||
else
|
|
||||||
strip "${OPENSSL_INSTALL_PATH}/bin/openssl"
|
strip "${OPENSSL_INSTALL_PATH}/bin/openssl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Run OpenSSL
|
- name: Run OpenSSL
|
||||||
if: matrix.goal == 'build'
|
if: matrix.goal == 'build'
|
||||||
run: |
|
run: |
|
||||||
@@ -402,8 +401,6 @@ jobs:
|
|||||||
if: matrix.goal == 'build' && runner.os != 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'
|
if: matrix.goal == 'build' && runner.os != 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
cd "${PYTHON_SOURCE_PATH}"
|
cd "${PYTHON_SOURCE_PATH}"
|
||||||
export CFLAGS="-O3 -pipe"
|
|
||||||
export LDFLAGS="-Wl,--strip-all"
|
|
||||||
./configure --with-openssl="${OPENSSL_INSTALL_PATH}" \
|
./configure --with-openssl="${OPENSSL_INSTALL_PATH}" \
|
||||||
--prefix="${PYTHON_INSTALL_PATH}" \
|
--prefix="${PYTHON_INSTALL_PATH}" \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
@@ -479,8 +476,6 @@ jobs:
|
|||||||
if: matrix.goal == 'build' && runner.os != 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'
|
if: matrix.goal == 'build' && runner.os != 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
cd "${PYTHON_SOURCE_PATH}"
|
cd "${PYTHON_SOURCE_PATH}"
|
||||||
export CFLAGS="-O3 -pipe"
|
|
||||||
export LDFLAGS="-Wl,--strip-all"
|
|
||||||
echo "Running: ${MAKE} ${MAKEOPT}"
|
echo "Running: ${MAKE} ${MAKEOPT}"
|
||||||
$MAKE $MAKEOPT
|
$MAKE $MAKEOPT
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user