Workaround for https://github.com/actions/runner-images/issues/10004.
PiperOrigin-RevId: 641250258 Change-Id: I00509dc21c568a05d6cba346437194a7e80badd4
This commit is contained in:
committed by
Copybara-Service
parent
c136f3d6e8
commit
5b6800116a
@@ -154,6 +154,16 @@ jobs:
|
||||
- name: Build MuJoCo
|
||||
working-directory: build
|
||||
run: cmake --build . --config=Release ${{ matrix.cmake_build_args }}
|
||||
- name: Copy in the correct VC runtime DLLs (workaround for actions/runner-images#10004)
|
||||
if: ${{ runner.os == 'Windows' }}
|
||||
working-directory: build
|
||||
shell: powershell
|
||||
run: |
|
||||
Copy-Item (Join-Path `
|
||||
((Get-ChildItem -Directory `
|
||||
-Path "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC\14.*" |
|
||||
Sort -Descending | Select-Object -First 1).FullName
|
||||
) 'x64\Microsoft.VC143.CRT\*.dll') "bin\Release"
|
||||
- name: Test MuJoCo
|
||||
working-directory: build
|
||||
run: ctest -C Release --output-on-failure .
|
||||
|
||||
Reference in New Issue
Block a user