|
57 | 57 | - brew link libtool |
58 | 58 |
|
59 | 59 | build_script: |
60 | | - # package hostpython |
61 | | - - HOSTPYTHON_FILE_NAME=hostpython-macos-v$APPVEYOR_BUILD_VERSION.zip |
62 | | - - pushd ~/venv3.10 |
63 | | - - zip -r $HOSTPYTHON_FILE_NAME . |
64 | | - - appveyor PushArtifact $HOSTPYTHON_FILE_NAME -DeploymentName hostpython-macos |
65 | | - - popd |
66 | | - |
67 | 60 | # build Python 3 |
68 | 61 | - toolchain build python3 |
69 | 62 | - ls dist |
|
74 | 67 | # package the rest of dist |
75 | 68 | - DIST_FILE_NAME=dist/python-ios-dist-v$APPVEYOR_BUILD_VERSION.tar.gz |
76 | 69 | - tar -czvf $DIST_FILE_NAME dist/* |
77 | | - - appveyor PushArtifact $DIST_FILE_NAME -DeploymentName python-dist |
| 70 | + - appveyor PushArtifact $DIST_FILE_NAME -DeploymentName python-dist-macos |
78 | 71 |
|
79 | 72 | deploy: |
80 | 73 | provider: GitHub |
81 | 74 | auth_token: $(GITHUB_TOKEN) |
82 | 75 | release: $(APPVEYOR_REPO_TAG_NAME) |
83 | | - artifact: python-dist, hostpython-macos |
| 76 | + artifact: python-dist-macos |
84 | 77 | on: |
85 | 78 | APPVEYOR_REPO_TAG: true |
86 | 79 |
|
|
105 | 98 | } |
106 | 99 | Update-AppveyorBuild -Version $v |
107 | 100 |
|
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 | | - |
115 | 101 | # install NDK |
116 | 102 | - export ANDROID_SDK_ROOT="/usr/lib/android-sdk" |
117 | 103 | - export NDK_VERSION=25.2.9519653 |
@@ -150,14 +136,14 @@ for: |
150 | 136 | - DIST_FILE_NAME=python-android-dist-v$APPVEYOR_BUILD_VERSION.zip |
151 | 137 | - pushd ~/.local/share/python-for-android/dists/serious_python/libs |
152 | 138 | - zip -r $DIST_FILE_NAME . |
153 | | - - appveyor PushArtifact $DIST_FILE_NAME -DeploymentName python-dist |
| 139 | + - appveyor PushArtifact $DIST_FILE_NAME -DeploymentName python-dist-android |
154 | 140 | - popd |
155 | 141 |
|
156 | 142 | deploy: |
157 | 143 | provider: GitHub |
158 | 144 | auth_token: $(GITHUB_TOKEN) |
159 | 145 | release: $(APPVEYOR_REPO_TAG_NAME) |
160 | | - artifact: python-dist, hostpython-linux |
| 146 | + artifact: python-dist-android |
161 | 147 | on: |
162 | 148 | APPVEYOR_REPO_TAG: true |
163 | 149 |
|
|
0 commit comments