Skip to content

Commit 607f89d

Browse files
authored
Packaging 6.9.3 (#1487)
1 parent 6bc1e9b commit 607f89d

19 files changed

+151
-285
lines changed

.appveyor.yml

+11-9
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
version: "{build}"
33

44
image:
5-
- Visual Studio 2017
5+
- Visual Studio 2019
66
# - Ubuntu1604
77
# - Ubuntu1804
88

@@ -13,13 +13,13 @@ environment:
1313
MSVC_DEFAULT_OPTIONS: ON
1414
CMAKE_TOOLCHAIN_FILE: -DCMAKE_TOOLCHAIN_FILE="C:\tools\vcpkg\scripts\buildsystems\vcpkg.cmake"
1515
matrix:
16-
- CMAKE_GENERATOR: -G"Visual Studio 15 2017 Win64"
17-
CMAKE_TOOLCHAIN: -T"v141"
16+
- CMAKE_GENERATOR: -G"Visual Studio 16 2019"
17+
CMAKE_TOOLCHAIN: -T"v142"
1818

1919
# build configuration, i.e. Debug, Release, etc.
2020
configuration:
2121
- Debug
22-
- Release
22+
# - Release
2323

2424
# scripts that are called at very beginning, before repo cloning
2525
init:
@@ -52,8 +52,10 @@ install:
5252
- cmd: vcpkg install --recurse --triplet %VCPKG_ARCH% assimp boost-system boost-filesystem ccd eigen3 fcl
5353

5454
# install optional dependencies
55-
#- vcpkg install --recurse --triplet %VCPKG_ARCH% bullet3 flann freeglut nlopt ode opengl osg tinyxml2 urdfdom
56-
#- vcpkg install ipopt:%VCPKG_ARCH%
55+
# 'dart-utils' needs tinyxml2 and boost algorithm/lexical-cast
56+
# and also boost-math to resolve a circular dependency with lexical-cast
57+
- cmd: vcpkg install --recurse --triplet %VCPKG_ARCH% boost-algorithm boost-lexical-cast boost-math bullet3 freeglut ode opengl tinyxml2
58+
#- vcpkg install --recurse --triplet %VCPKG_ARCH% flann ipopt nlopt osg urdfdom
5759

5860
- cmd: vcpkg integrate install
5961
- cmd: cd "%APPVEYOR_BUILD_FOLDER%"
@@ -63,7 +65,7 @@ install:
6365
#-------------------------------
6466
- sh: sudo apt-get update
6567
- sh: sudo apt-get --yes install build-essential cmake pkg-config git
66-
- sh: sudo apt-get --yes install libeigen3-dev libassimp-dev libccd-dev libfcl-dev libboost-regex-dev libboost-system-dev
68+
- sh: sudo apt-get --yes install libeigen3-dev libassimp-dev libccd-dev libfcl-dev libboost-system-dev
6769
- sh: sudo apt-get --yes install libnlopt-dev coinor-libipopt-dev libbullet-dev libflann-dev libtinyxml2-dev liburdfdom-dev libxi-dev libxmu-dev freeglut3-dev libopenscenegraph-dev
6870
- sh: sudo apt-get --yes install clang-format-6.0
6971

@@ -76,8 +78,8 @@ build_script:
7678
# Windows 10
7779
#------------------
7880
- cmd: mkdir build && cd build
79-
- cmd: cmake %CMAKE_GENERATOR% -DCMAKE_BUILD_TYPE=%configuration% -DDART_MSVC_DEFAULT_OPTIONS="%MSVC_DEFAULT_OPTIONS%" %CMAKE_TOOLCHAIN_FILE% %CMAKE_TOOLCHAIN% ..
80-
# - cmd: cmake --build . --target ALL_BUILD --config %configuration% -- /maxcpucount:4 /verbosity:quiet
81+
- cmd: cmake %CMAKE_GENERATOR% -A x64 -DCMAKE_BUILD_TYPE=%configuration% -DDART_VERBOSE=ON -DDART_MSVC_DEFAULT_OPTIONS="%MSVC_DEFAULT_OPTIONS%" %CMAKE_TOOLCHAIN_FILE% %CMAKE_TOOLCHAIN% ..
82+
# - cmd: cmake --build . --target ALL_BUILD --config %configuration% -- /maxcpucount:4
8183

8284
#-------------------------------
8385
# Ubuntu 16.04 LTS && 18.04 LTS

.azure-pipelines.yml

+7-124
Original file line numberDiff line numberDiff line change
@@ -2,101 +2,35 @@
22
# Ref: https://docs.microsoft.com/en-us/azure/devops/pipelines
33

44
jobs:
5-
- job: xenial_gcc_release
5+
- job: xenial_gcc_debug
6+
timeoutInMinutes: 120
67
pool:
78
vmImage: 'ubuntu-16.04'
89
variables:
9-
OS_NAME: linux
1010
COMPILER: gcc
11-
BUILD_TYPE: Release
11+
BUILD_TYPE: Debug
1212
BUILD_DIR: $(Build.SourcesDirectory)
1313
DOCKERFILE: Dockerfile.ubuntu-xenial
1414
steps:
1515
- template: .ci/azure-pipelines/docker.yml
1616

1717
- job: bionic_gcc_debug
18+
timeoutInMinutes: 120
1819
pool:
1920
vmImage: 'ubuntu-16.04'
2021
variables:
21-
OS_NAME: linux
2222
COMPILER: gcc
2323
BUILD_TYPE: Debug
2424
BUILD_DIR: $(Build.SourcesDirectory)
2525
DOCKERFILE: Dockerfile.ubuntu-bionic
2626
steps:
2727
- template: .ci/azure-pipelines/docker.yml
2828

29-
- job: bionic_gcc_dartpy_release
30-
pool:
31-
vmImage: 'ubuntu-16.04'
32-
variables:
33-
OS_NAME: linux
34-
COMPILER: gcc
35-
BUILD_TYPE: Release
36-
BUILD_DARTPY: ON
37-
BUILD_DIR: $(Build.SourcesDirectory)
38-
DOCKERFILE: Dockerfile.ubuntu-bionic
39-
steps:
40-
- template: .ci/azure-pipelines/docker.yml
41-
timeoutInMinutes: 0
42-
43-
- job: disco_gcc_debug
44-
pool:
45-
vmImage: 'ubuntu-16.04'
46-
variables:
47-
OS_NAME: linux
48-
COMPILER: gcc
49-
BUILD_TYPE: Debug
50-
BUILD_DIR: $(Build.SourcesDirectory)
51-
DOCKERFILE: Dockerfile.ubuntu-disco
52-
steps:
53-
- template: .ci/azure-pipelines/docker.yml
54-
55-
- job: disco_gcc_dartpy_release
56-
pool:
57-
vmImage: 'ubuntu-16.04'
58-
variables:
59-
OS_NAME: linux
60-
COMPILER: gcc
61-
BUILD_TYPE: Release
62-
BUILD_DARTPY: ON
63-
BUILD_DIR: $(Build.SourcesDirectory)
64-
DOCKERFILE: Dockerfile.ubuntu-disco
65-
steps:
66-
- template: .ci/azure-pipelines/docker.yml
67-
timeoutInMinutes: 0
68-
69-
- job: eoan_gcc_debug
29+
- job: catalina_clang_debug
30+
timeoutInMinutes: 120
7031
pool:
71-
vmImage: 'ubuntu-16.04'
32+
vmImage: 'macOS-10.15'
7233
variables:
73-
OS_NAME: linux
74-
COMPILER: gcc
75-
BUILD_TYPE: Debug
76-
BUILD_DIR: $(Build.SourcesDirectory)
77-
DOCKERFILE: Dockerfile.ubuntu-eoan
78-
steps:
79-
- template: .ci/azure-pipelines/docker.yml
80-
81-
- job: eoan_gcc_dartpy_release
82-
pool:
83-
vmImage: 'ubuntu-16.04'
84-
variables:
85-
OS_NAME: linux
86-
COMPILER: gcc
87-
BUILD_TYPE: Release
88-
BUILD_DARTPY: ON
89-
BUILD_DIR: $(Build.SourcesDirectory)
90-
DOCKERFILE: Dockerfile.ubuntu-eoan
91-
steps:
92-
- template: .ci/azure-pipelines/docker.yml
93-
timeoutInMinutes: 0
94-
95-
- job: mojav_clang_debug
96-
pool:
97-
vmImage: 'macOS-10.14'
98-
variables:
99-
OS_NAME: osx
10034
BUILD_TYPE: Debug
10135
BUILD_DIR: $(Build.SourcesDirectory)
10236
steps:
@@ -106,54 +40,3 @@ jobs:
10640
- script: |
10741
'.ci/script.sh'
10842
displayName: 'Script'
109-
110-
- job: mojav_clang_dartpy_release
111-
pool:
112-
vmImage: 'macOS-10.14'
113-
variables:
114-
OS_NAME: osx
115-
BUILD_TYPE: Release
116-
BUILD_DARTPY: ON
117-
BUILD_DIR: $(Build.SourcesDirectory)
118-
steps:
119-
- script: |
120-
'.ci/install.sh'
121-
displayName: 'Install'
122-
- script: |
123-
'.ci/script.sh'
124-
displayName: 'Script'
125-
126-
- job: windows_vs2019_x64
127-
pool:
128-
vmImage: 'windows-2019'
129-
timeoutInMinutes: 0
130-
strategy:
131-
matrix:
132-
# Debug64:
133-
# CONFIGURATION: 'Debug'
134-
Release64:
135-
CONFIGURATION: 'Release'
136-
variables:
137-
VCPKG_INSTALL_ROOT: $(Build.SourcesDirectory)\vcpkg
138-
VCPKG_ARCH: 'x64-windows'
139-
VCPKG_PACKAGES: 'assimp boost-system boost-filesystem ccd eigen3 fcl'
140-
BUILD_TOOLSET_VERSION: '142'
141-
CMAKE_GENERATOR: 'Visual Studio 16 2019'
142-
steps:
143-
- script: |
144-
git clone -q --depth 1 https://github.com/microsoft/vcpkg.git $(VCPKG_INSTALL_ROOT)
145-
$(VCPKG_INSTALL_ROOT)\bootstrap-vcpkg.bat
146-
displayName: 'Install vcpkg'
147-
- script: |
148-
$(VCPKG_INSTALL_ROOT)\vcpkg.exe install --recurse --triplet $(VCPKG_ARCH) $(VCPKG_PACKAGES)
149-
$(VCPKG_INSTALL_ROOT)\vcpkg.exe integrate install
150-
displayName: 'Install dependencies'
151-
- script: |
152-
cmake --version
153-
mkdir build
154-
cd build
155-
cmake .. -G "$(CMAKE_GENERATOR)" -A x64 -DCMAKE_BUILD_TYPE=$(CONFIGURATION) -Wno-dev -T "v$(BUILD_TOOLSET_VERSION),host=x64" -DVCPKG_TARGET_TRIPLET=$(VCPKG_ARCH) -DCMAKE_TOOLCHAIN_FILE="$(VCPKG_INSTALL_ROOT)/scripts/buildsystems/vcpkg.cmake" -DCMAKE_INSTALL_PREFIX="$(Build.BinariesDirectory)/$(REPO_NAME)" -DDART_MSVC_DEFAULT_OPTIONS=ON
156-
cmake --build . --target ALL_BUILD --config $(CONFIGURATION) -- /maxcpucount:4
157-
displayName: 'Build'
158-
workingDirectory: '$(Build.SourcesDirectory)'
159-

.ci/azure-pipelines/native.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ parameters:
33

44
steps:
55
- script: |
6-
./.ci/install.sh
6+
sudo -E ./.ci/install.sh
77
displayName: 'Install'
88
- script: |
9-
./.ci/script.sh -j${{ parameters.numThreads }}
9+
sudo -E ./.ci/script.sh -j${{ parameters.numThreads }}
1010
displayName: 'Script'

.ci/docker/Dockerfile.ubuntu-cosmic

-1
This file was deleted.

.ci/docker/Dockerfile.ubuntu-disco

-1
This file was deleted.

.ci/docker/Dockerfile.ubuntu-eoan

-1
This file was deleted.

.ci/docker/env.list

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
REPO_SLUG
22
IS_PULL_REQUEST
3-
OS_NAME
43
BUILD_DIR
54

65
COMPILER
@@ -9,5 +8,5 @@ BUILD_TYPE
98
BUILD_DARTPY
109
BUILD_DOCS
1110
CODECOV
12-
SUDO
11+
DOCKERFILE
1312
BUILD_DARTPY

.ci/install.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/env bash
22
set -ex
33

4-
if [ "$OS_NAME" = "linux" ]; then '.ci/install_linux.sh' ; fi
5-
if [ "$OS_NAME" = "osx" ]; then '.ci/install_osx.sh' ; fi
4+
if [ "${OSTYPE//[0-9.]/}" == "linux-gnu" ]; then
5+
'.ci/install_linux.sh'
6+
elif [ "${OSTYPE//[0-9.]/}" == "darwin" ]; then
7+
'.ci/install_osx.sh'
8+
fi

0 commit comments

Comments
 (0)