mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-29 18:31:38 +00:00
Update build.yml
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -530,6 +530,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
mkdir -p -v "${gampath}"
|
mkdir -p -v "${gampath}"
|
||||||
if [[ "${RUNNER_OS}" == "macOS" ]]; then
|
if [[ "${RUNNER_OS}" == "macOS" ]]; then
|
||||||
|
brew uninstall openssl
|
||||||
export gampath=$($PYTHON -c "import os; print(os.path.realpath('$gampath'))")
|
export gampath=$($PYTHON -c "import os; print(os.path.realpath('$gampath'))")
|
||||||
elif [[ "${RUNNER_OS}" == "Windows" ]]; then
|
elif [[ "${RUNNER_OS}" == "Windows" ]]; then
|
||||||
# Work around issue where PyInstaller picks up python3.dll from other Python versions
|
# Work around issue where PyInstaller picks up python3.dll from other Python versions
|
||||||
@@ -553,10 +554,10 @@ jobs:
|
|||||||
cat build/gam/EXE-00.toc
|
cat build/gam/EXE-00.toc
|
||||||
if [ -x "$(command -v realpath)" ]; then
|
if [ -x "$(command -v realpath)" ]; then
|
||||||
realpath=realpath
|
realpath=realpath
|
||||||
else
|
else
|
||||||
brew install coreutils
|
brew install coreutils
|
||||||
realpath=grealpath
|
realpath=grealpath
|
||||||
fi
|
fi
|
||||||
export gam=$(realpath "$gam")
|
export gam=$(realpath "$gam")
|
||||||
if [[ "${RUNNER_OS}" == "Windows" ]]; then
|
if [[ "${RUNNER_OS}" == "Windows" ]]; then
|
||||||
export gam=$(cygpath -w "$gam")
|
export gam=$(cygpath -w "$gam")
|
||||||
|
|||||||
Reference in New Issue
Block a user