-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5637 from cyberbotics/merge-develop-in-featureweb…
…proto Merge develop in feature-web-proto
- Loading branch information
Showing
23 changed files
with
183 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,32 +42,15 @@ jobs: | |
fetch-depth: 15 | ||
- name: Install Webots Compilation Dependencies | ||
run: | | ||
# swig wget cmake [email protected] [email protected] and [email protected] are already installed | ||
if HOMEBREW_NO_INSTALL_CLEANUP=1 brew install [email protected]; then | ||
echo "Installation of Python3.7 successful" | ||
else | ||
echo "Installation of Python3.7 failed" | ||
fi | ||
# swig wget and cmake are already installed | ||
npm install -g appdmg | ||
# install regular Python 3.7 | ||
wget -qq https://www.python.org/ftp/python/3.7.9/python-3.7.9-macosx10.9.pkg | ||
sudo installer -pkg python-3.7.9-macosx10.9.pkg -target / | ||
# install regular Python 3.8 | ||
wget -qq https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg | ||
sudo installer -pkg python-3.8.10-macos11.pkg -target / | ||
# install regular Python 3.9 | ||
wget -qq https://www.python.org/ftp/python/3.9.13/python-3.9.13-macos11.pkg | ||
sudo installer -pkg python-3.9.13-macos11.pkg -target / | ||
# install regular Python 3.10 | ||
wget -qq https://www.python.org/ftp/python/3.10.5/python-3.10.5-macos11.pkg | ||
sudo installer -pkg python-3.10.5-macos11.pkg -target / | ||
- name: Set Commit SHA in Version | ||
if: ${{ github.event_name == 'schedule' }} | ||
run: python scripts/packaging/set_commit_and_date_in_version.py $(git log -1 --format='%H') | ||
- name: Webots Package Creation | ||
run: | | ||
export JAVA_HOME="$(/usr/libexec/java_home -v 16)" | ||
export PATH=/Library/Frameworks/Python.framework/Versions/3.10/bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin/:$PATH | ||
export PATH=/Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin/:$PATH | ||
make distrib -j4 | ||
- name: Prepare Webots Controller Deployment | ||
if: ${{ github.event_name == 'schedule' || contains(github.event.pull_request.labels.*.name, 'deploy libcontroller') }} | ||
|
@@ -107,10 +90,10 @@ jobs: | |
hdiutil mount artifact/webots-*.dmg | ||
sudo cp -R /Volumes/Webots/Webots.app /Applications | ||
hdiutil unmount /Volumes/Webots | ||
- name: Set up Python 3.9 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
python-version: 3.11 | ||
- name: Test | ||
run: | ||
export WEBOTS_DISABLE_SAVE_SCREEN_PERSPECTIVE_ON_CLOSE=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,32 +38,15 @@ jobs: | |
ref: develop | ||
- name: Install Webots Compilation Dependencies | ||
run: | | ||
# swig wget cmake [email protected] [email protected] and [email protected] are already installed | ||
if HOMEBREW_NO_INSTALL_CLEANUP=1 brew install [email protected]; then | ||
echo "Installation of Python3.7 successful" | ||
else | ||
echo "Installation of Python3.7 failed" | ||
fi | ||
# swig wget and cmake are already installed | ||
npm install -g appdmg | ||
# install regular Python 3.7 | ||
wget -qq https://www.python.org/ftp/python/3.7.9/python-3.7.9-macosx10.9.pkg | ||
sudo installer -pkg python-3.7.9-macosx10.9.pkg -target / | ||
# install regular Python 3.8 | ||
wget -qq https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg | ||
sudo installer -pkg python-3.8.10-macos11.pkg -target / | ||
# install regular Python 3.9 | ||
wget -qq https://www.python.org/ftp/python/3.9.13/python-3.9.13-macos11.pkg | ||
sudo installer -pkg python-3.9.13-macos11.pkg -target / | ||
# install regular Python 3.10 | ||
wget -qq https://www.python.org/ftp/python/3.10.5/python-3.10.5-macos11.pkg | ||
sudo installer -pkg python-3.10.5-macos11.pkg -target / | ||
- name: Set Commit SHA in Version | ||
if: ${{ github.event_name == 'schedule' }} | ||
run: python scripts/packaging/set_commit_and_date_in_version.py $(git log -1 --format='%H') | ||
- name: Webots Package Creation | ||
run: | | ||
export JAVA_HOME="$(/usr/libexec/java_home -v 16)" | ||
export PATH=/Library/Frameworks/Python.framework/Versions/3.10/bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin/:$PATH | ||
export PATH=/Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin/:$PATH | ||
make distrib -j4 | ||
- name: Prepare Webots Controller Deployment | ||
if: ${{ github.event_name == 'schedule' || contains(github.event.pull_request.labels.*.name, 'deploy libcontroller') }} | ||
|
@@ -105,10 +88,10 @@ jobs: | |
hdiutil mount artifact/webots-*.dmg | ||
sudo cp -R /Volumes/Webots/Webots.app /Applications | ||
hdiutil unmount /Volumes/Webots | ||
- name: Set up Python 3.9 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
python-version: 3.11 | ||
- name: Test | ||
run: | ||
export WEBOTS_DISABLE_SAVE_SCREEN_PERSPECTIVE_ON_CLOSE=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.