From 11e5f941fd320d94eda6cb4e16de89817024a38b Mon Sep 17 00:00:00 2001 From: Thomas Lauf Date: Wed, 5 Feb 2025 23:29:30 +0100 Subject: [PATCH] Update macOS test script Do not install CMake, is already provided by GitHub runner Upgrade PYTHON to 3.10.16 Print Asciidoctor version in info output --- test/scripts/test_osx.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/scripts/test_osx.sh b/test/scripts/test_osx.sh index 5946e335..31106236 100644 --- a/test/scripts/test_osx.sh +++ b/test/scripts/test_osx.sh @@ -1,14 +1,14 @@ set -x -brew install cmake brew install pyenv brew install asciidoctor +export PYTHON_VERSION="3.10.16" export PYENV_ROOT="$HOME/.pyenv" -export PATH="$PYENV_ROOT/bin:$PATH" +export PATH="${PYENV_ROOT}/bin:${PATH}" eval "$( pyenv init --path )" -pyenv install 3.10.0 -pyenv global 3.10.0 +pyenv install "${PYTHON_VERSION}" +pyenv global "${PYTHON_VERSION}" pip install --upgrade pip pip install python-dateutil @@ -27,7 +27,8 @@ grep 'not ok' all.log ./problems EXIT_CODE=$? echo "timew $( timew --version )" +asciidoctor --version python --version cmake --version clang --version -exit ${EXIT_CODE} \ No newline at end of file +exit ${EXIT_CODE}