diff --git a/.ci/osx_ci.sh b/.ci/osx_ci.sh index 307ee42c1..03b137a00 100644 --- a/.ci/osx_ci.sh +++ b/.ci/osx_ci.sh @@ -36,14 +36,13 @@ install_platypus() { } generate_osx_app_bundle() { - py_version="$1" app_ver=$(PYTHONPATH=. KIVY_NO_CONSOLELOG=1 python3 -c 'import kivy; print(kivy.__version__)') cd ../ git clone https://github.com/kivy/kivy-sdk-packager.git cd kivy-sdk-packager/osx - ./create-osx-bundle.sh -k ../../kivy -p "$py_version" -v "$app_ver" + ./create-osx-bundle.sh -k ../../kivy -v "$app_ver" } generate_osx_app_dmg_from_bundle() { diff --git a/.github/workflows/osx_wheels_app.yml b/.github/workflows/osx_wheels_app.yml index 4965105ae..02a6f5f34 100644 --- a/.github/workflows/osx_wheels_app.yml +++ b/.github/workflows/osx_wheels_app.yml @@ -198,6 +198,9 @@ jobs: run: | source .ci/ubuntu_ci.sh update_version_metadata + - name: Install build dependencies + run: | + brew install pkg-config cmake ninja - name: Install dependencies run: | source .ci/ubuntu_ci.sh @@ -206,9 +209,8 @@ jobs: install_kivy_test_run_pip_deps dev - name: Make app bundle run: | - py_version=$(python3 -c "import platform; print(platform.python_version())") source .ci/osx_ci.sh - generate_osx_app_bundle "$py_version" + generate_osx_app_bundle - name: Create dmg from bundle run: | source .ci/osx_ci.sh