File tree 3 files changed +20
-20
lines changed
3 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ before_install:
20
20
- wget -O cmake.sh https://cmake.org/files/v3.10/cmake-3.10.0-rc1-Linux-x86_64.sh
21
21
- sudo sh cmake.sh --skip-license --exclude-subdir --prefix=/usr/local
22
22
# 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
24
24
- unzip /tmp/libtorch.zip -d /tmp/
25
25
# Install cppcheck
26
26
- 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 1
1
cmake_minimum_required (VERSION 3.10.0)
2
2
project (CppRl
3
3
LANGUAGES CXX
4
- VERSION 1.1 .0
4
+ VERSION 1.2 .0
5
5
DESCRIPTION "Reinforcement learning in C++ using PyTorch"
6
6
)
7
7
Original file line number Diff line number Diff line change 1
- version : ' 1.1 .0-{build}'
1
+ version : " 1.2 .0-{build}"
2
2
3
3
clone_folder : C:\pytorch-cpp-rl
4
4
5
5
image :
6
- - Visual Studio 2017
6
+ - Visual Studio 2017
7
7
8
8
platform :
9
- - x64
9
+ - x64
10
10
11
11
before_build :
12
- # Load submodules
13
- -
sed -i 's/[email protected] :/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/[email protected] :/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 ..
23
23
24
24
build_script :
25
- - cmake --build . --config Release
25
+ - cmake --build . --config Release
26
26
27
27
test_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