This repository was archived by the owner on Dec 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +20
-20
lines changed
Expand file tree Collapse file tree 3 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ before_install:
2020 - wget -O cmake.sh https://cmake.org/files/v3.10/cmake-3.10.0-rc1-Linux-x86_64.sh
2121 - sudo sh cmake.sh --skip-license --exclude-subdir --prefix=/usr/local
2222 # Install libtorch
23- - wget https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-latest .zip -O /tmp/libtorch.zip
23+ - wget https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-1.3.0%2Bcpu .zip -O /tmp/libtorch.zip
2424 - unzip /tmp/libtorch.zip -d /tmp/
2525 # Install cppcheck
2626 - git clone https://github.com/danmar/cppcheck /tmp/cppcheck && cd /tmp/cppcheck && git checkout 1.87 && cd -
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.10.0)
22project (CppRl
33 LANGUAGES CXX
4- VERSION 1.1 .0
4+ VERSION 1.2 .0
55 DESCRIPTION "Reinforcement learning in C++ using PyTorch"
66)
77
Original file line number Diff line number Diff line change 1- version : ' 1.1 .0-{build}'
1+ version : " 1.2 .0-{build}"
22
33clone_folder : C:\pytorch-cpp-rl
44
55image :
6- - Visual Studio 2017
6+ - Visual Studio 2017
77
88platform :
9- - x64
9+ - x64
1010
1111before_build :
12- # Load submodules
13- - sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
14- - git submodule update --init --recursive
15- # Install libtorch
16- - curl -fsS -o libtorch.zip https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-latest .zip
17- - 7z x libtorch.zip -y -oC:\
18- - set PATH=C:\libtorch\lib;%PATH%
19- # Run CMake
20- - mkdir build
21- - cd build
22- - cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_PREFIX_PATH=C:\libtorch ..
12+ # Load submodules
13+ - sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
14+ - git submodule update --init --recursive
15+ # Install libtorch
16+ - curl -fsS -o libtorch.zip https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.3.0 .zip
17+ - 7z x libtorch.zip -y -oC:\
18+ - set PATH=C:\libtorch\lib;%PATH%
19+ # Run CMake
20+ - mkdir build
21+ - cd build
22+ - cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_PREFIX_PATH=C:\libtorch ..
2323
2424build_script :
25- - cmake --build . --config Release
25+ - cmake --build . --config Release
2626
2727test_script :
28- - dir
29- - cd Release
30- - cpprl_tests.exe
28+ - dir
29+ - cd Release
30+ - cpprl_tests.exe
You can’t perform that action at this time.
0 commit comments