Skip to content

Commit 809239d

Browse files
committed
Package Python 3.10 from appveyor VM
1 parent 3b754df commit 809239d

1 file changed

Lines changed: 14 additions & 12 deletions

File tree

.appveyor.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,18 @@ for:
5757
- brew link libtool
5858

5959
build_script:
60-
# build Python 3
61-
- toolchain build python3
62-
- ls dist
63-
6460
# package hostpython
6561
- HOSTPYTHON_FILE_NAME=hostpython-macos-v$APPVEYOR_BUILD_VERSION.zip
66-
- pushd dist/hostpython3
62+
- pushd ~/venv3.10
6763
- zip -r $HOSTPYTHON_FILE_NAME .
6864
- appveyor PushArtifact $HOSTPYTHON_FILE_NAME -DeploymentName hostpython-macos
6965
- popd
66+
67+
# build Python 3
68+
- toolchain build python3
69+
- ls dist
70+
71+
# remove hostpython
7072
- rm -rf dist/hostpython3
7173

7274
# package the rest of dist
@@ -103,6 +105,13 @@ for:
103105
}
104106
Update-AppveyorBuild -Version $v
105107
108+
# package hostpython
109+
- HOSTPYTHON_FILE_NAME=hostpython-linux-v$APPVEYOR_BUILD_VERSION.zip
110+
- pushd ~/venv3.10
111+
- zip -r $HOSTPYTHON_FILE_NAME .
112+
- appveyor PushArtifact $HOSTPYTHON_FILE_NAME -DeploymentName hostpython-linux
113+
- popd
114+
106115
# install NDK
107116
- export ANDROID_SDK_ROOT="/usr/lib/android-sdk"
108117
- export NDK_VERSION=25.2.9519653
@@ -144,13 +153,6 @@ for:
144153
- appveyor PushArtifact $DIST_FILE_NAME -DeploymentName python-dist
145154
- popd
146155

147-
# package hostpython
148-
- HOSTPYTHON_FILE_NAME=hostpython-linux-v$APPVEYOR_BUILD_VERSION.zip
149-
- pushd ~/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build
150-
- zip -r $HOSTPYTHON_FILE_NAME .
151-
- appveyor PushArtifact $HOSTPYTHON_FILE_NAME -DeploymentName hostpython-linux
152-
- popd
153-
154156
deploy:
155157
provider: GitHub
156158
auth_token: $(GITHUB_TOKEN)

0 commit comments

Comments
 (0)