Commit Graph

19 Commits

Author SHA1 Message Date
Saran Tunyasuvunakool 5e989d18c3 Enable compiler errors for implicit switch case fallthroughs.
Also unify warning options across Clang and GCC and fix minor issues that was surfaced by this.

PiperOrigin-RevId: 508619655
Change-Id: I59b777bf2dfea4422485670e2427c7d3f5cf6405
2023-02-10 03:49:00 -08:00
Kevin Zakka d7e082ae96 Testing doc change. 2022-12-06 18:15:10 +00:00
Saran Tunyasuvunakool 2ebc5f097b Change simulate plugin directory name to mujoco_plugin.
This helps distro packagers avoid having to create a directory with the generic `plugin` name in system locations.

Context: https://github.com/deepmind/mujoco/issues/552
PiperOrigin-RevId: 489011386
Change-Id: Ie9f1748cbb4f2b9dc8c328064caaeb50c88fdec3
2022-11-16 12:40:31 -08:00
Saran Tunyasuvunakool 8df9d3c0a3 Fix build.yml.
PiperOrigin-RevId: 487641805
Change-Id: I071e855b7ccd6eafe8cf0d54d410f324822776a5
2022-11-10 14:35:54 -08:00
Saran Tunyasuvunakool 6175b508c0 Also run pip install --require-hashes on GitHub Actions.
PiperOrigin-RevId: 487625303
Change-Id: Ib65ff23faa33a95e077952e275cf466cec44fb93
2022-11-10 13:31:18 -08:00
Alessio Quaglino 9833f912c1 Renamed Elasticity to Cable and libcable to libelasticity for consistency.
PiperOrigin-RevId: 485642970
Change-Id: I279df4233963a6e514459e55a9c2d36d975da92c
2022-11-02 11:08:44 -07:00
Saran Tunyasuvunakool 106a3fc0bb Fix GCC build.
PiperOrigin-RevId: 480677627
Change-Id: If1184e0b3bf0e17cee91c0191bdf6aa84ed7f604
2022-10-12 11:40:07 -07:00
Alessio Quaglino 95fe2fbc40 Add plugin support to Python bindings.
PiperOrigin-RevId: 480675078
Change-Id: I2967654b6662efced8ae62cae9b03c6c8e65c67c
2022-10-12 11:30:15 -07:00
Saran Tunyasuvunakool 26bdb7c8b8 Replace __attribute__((constructor)) with C++ constructor.
The use of __attribute__((constructor)) made the previous commit fail to build in MSVC.

PiperOrigin-RevId: 474891117
Change-Id: I86a71bb8f3226ee49a8b5e8c07adc613623042b3
2022-09-16 13:39:39 -07:00
Kevin Zakka d466e390fc Add new simulate to CI.
PiperOrigin-RevId: 468670988
Change-Id: I2c6c7ac4763402f2a3e8df734746477e54a8ed8e
2022-08-19 04:17:10 -07:00
Nimrod Gileadi 5ee184ddaa Add --output-on-failure to ctest invocation on GH Actions.
See https://cmake.org/cmake/help/latest/manual/ctest.1.html

PiperOrigin-RevId: 465414085
Change-Id: Ia8f8da532193cced535bb813cdd66ae48005f91d
2022-08-04 15:05:19 -07:00
Saran Tunyasuvunakool 74539e307e Run apt-get update on Linux in GH Actions.
PiperOrigin-RevId: 465054121
Change-Id: I01702bcc51e03ea27c0da80565296b9f80df46fb
2022-08-03 07:52:12 -07:00
Saran Tunyasuvunakool 69e3fe1730 Add CI builds on Ubuntu 20 with GCC 9, GCC 10, Clang 10, and Clang 11.
PiperOrigin-RevId: 461500095
Change-Id: I812d1ac2a864e404c3052b3aa65443c5eb975ccf
2022-07-17 16:00:40 -07:00
Yuval Tassa 8958e13878 Improve best-practice description of included models in GitHub issues.
PiperOrigin-RevId: 455060429
Change-Id: I6a4544e99436749590a8d46ada09777ce2e90330
2022-06-15 01:06:15 -07:00
Saran Tunyasuvunakool aefab0e9dc Build Python bindings in build.yml.
We currently skip building the Python bindings on Windows since MSVC takes an hour+ on them. Internally, we use Clang for our Windows build, so are not affected by this issue.

PiperOrigin-RevId: 450914163
Change-Id: I329aab28f3a2aeb1896242a8712f89d8ecff2f92
2022-05-25 07:01:59 -07:00
Saran Tunyasuvunakool 3034e8537c Add a Linux Clang build and MUJOCO_HARDEN to build.yml.
PiperOrigin-RevId: 450709606
Change-Id: I63525e4670d0d05ca478c0a3f8c39f15d0b2aaf3
2022-05-24 10:08:11 -07:00
Saran Tunyasuvunakool dbf6c74f8f Add a comment to build.yml to clarify that it's not "official".
PiperOrigin-RevId: 450679854
Change-Id: I0a71c02c61b6ee8969b47590ad87f1dc5fdf145b
2022-05-24 07:47:09 -07:00
Saran Tunyasuvunakool 01e232446d Add build.yml for GitHub Actions.
PiperOrigin-RevId: 450475783
Change-Id: I2384b64459c327b94ac98aa0bdd8a5258c5cda0f
2022-05-23 10:47:11 -07:00
Saran Tunyasuvunakool 1913a02b40 Initial open sourcing of MuJoCo.
PiperOrigin-RevId: 450374687
Change-Id: Ie3225a46ce095fc28ae8e63c326a640261f562bb
2022-05-23 01:08:49 -07:00