Skip to content

Commit 5ee613e

Browse files
author
Omegastick
committed
v1.2.0
1 parent e1844a1 commit 5ee613e

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff 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 -

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.10.0)
22
project(CppRl
33
LANGUAGES CXX
4-
VERSION 1.1.0
4+
VERSION 1.2.0
55
DESCRIPTION "Reinforcement learning in C++ using PyTorch"
66
)
77

appveyor.yml

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
version: '1.1.0-{build}'
1+
version: "1.2.0-{build}"
22

33
clone_folder: C:\pytorch-cpp-rl
44

55
image:
6-
- Visual Studio 2017
6+
- Visual Studio 2017
77

88
platform:
9-
- x64
9+
- x64
1010

1111
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 ..
2323

2424
build_script:
25-
- cmake --build . --config Release
25+
- cmake --build . --config Release
2626

2727
test_script:
28-
- dir
29-
- cd Release
30-
- cpprl_tests.exe
28+
- dir
29+
- cd Release
30+
- cpprl_tests.exe

0 commit comments

Comments
 (0)