Skip to content

Commit e1915fc

Browse files
authored
PYTHON-2372 Build macOS releases in Evergreen (mongodb#486)
1 parent 1b97edd commit e1915fc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.evergreen/build-mac.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22

33
for VERSION in 2.7 3.4 3.5 3.6 3.7 3.8; do
44
if [[ $VERSION == "2.7" ]]; then
5+
PYTHON=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python
56
rm -rf build
6-
python$VERSION setup.py bdist_egg
7+
$PYTHON setup.py bdist_egg
8+
else
9+
PYTHON=/Library/Frameworks/Python.framework/Versions/$VERSION/bin/python3
710
fi
811
rm -rf build
9-
python$VERSION setup.py bdist_wheel
12+
$PYTHON setup.py bdist_wheel
1013
done
1114

1215
ls dist

.evergreen/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2581,7 +2581,7 @@ buildvariants:
25812581

25822582
- matrix_name: "Release"
25832583
matrix_spec:
2584-
platform: [ubuntu-20.04, windows-64-vsMulti-small]
2584+
platform: [ubuntu-20.04, windows-64-vsMulti-small, macos-1014]
25852585
display_name: "Release ${platform}"
25862586
tasks:
25872587
- name: "release"

0 commit comments

Comments
 (0)