-
Notifications
You must be signed in to change notification settings - Fork 1
Home
You can install the latest version using snap (do not use the old version provided with APT):
snap install snapcraft --classic
First you have to make sure to cleanup old artifacts from a previous build, the old VM can be cleaned with these commands:
multipass delete snapcraft-webots
multipass purge
You need to clone Webots in this repository (and make sure it is in the webots
folder) and switch to the desired branch.
Finally, you can create the package with this command run from inside this repository (might need to be run with sudo if the VM need to be re-created):
snapcraft
Once created, the snap package may be installed and tested locally:
snap install webots_R2019b-rev1_amd64.snap --dangerous
On Ubuntu 16.04 you might need to enable the experimental layout:
snap set core experimental.layouts=true
Finally, it should be uploaded to the snap store:
snapcraft login
Email: webmaster@cyberbotics.com
Password:
snapcraft upload webots_R2019b-rev1_amd64.snap
Once uploaded on snapcraft.io, it should be published in the release-candidate channel for QA testing. QA testing should happen on the latest LTS Ubuntu release, as well as on other Linux distributions: Fedora, ArchLinux, Mint, OpenSuse, etc.
The upload.sh script may be helpful in case the upload is failing randomly as it used to be the case when the webots snap was very large.