Make MuJoCo buildable with Visual Studio 2019 update 7 and earlier.

Also enable MSVC 2019 builds on GitHub Actions.

Fixes #862.

PiperOrigin-RevId: 531167754
Change-Id: I17687fb287c38a7f2245c6f7ba59a22b772e3a8c
This commit is contained in:
Saran Tunyasuvunakool
2023-05-11 04:54:01 -07:00
committed by Copybara-Service
parent 09a8e59824
commit 133b8d0978
2 changed files with 16 additions and 2 deletions
+7
View File
@@ -94,6 +94,13 @@ jobs:
-DMUJOCO_HARDEN:BOOL=ON
tmpdir: "/tmp"
- os: windows-2022
cmake_args: >-
-DCMAKE_SYSTEM_VERSION="10.0.22621.0"
cmake_build_args: "-- -m"
tmpdir: "C:/Temp"
- os: windows-2019
cmake_args: >-
-DCMAKE_SYSTEM_VERSION="10.0.22621.0"
cmake_build_args: "-- -m"
tmpdir: "C:/Temp"