Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from upstream master branch #18

Draft
wants to merge 105 commits into
base: release-6.10
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
09e5986
Bump version to 6.9.2
jslee02 Jul 13, 2019
f54ee2d
Constraints: allow constraint force mixing > 1 (#1371)
scpeters Jul 13, 2019
2466c01
Reset internal force of point mass before every simulation step (#1372)
jslee02 Jul 14, 2019
e80d09e
Fix friction and restitution of individual shapes in a body (#1369)
jslee02 Jul 14, 2019
80fcc9f
Enable octomap support on macOS (#1373)
jslee02 Jul 15, 2019
18bfafd
Add dartpy access to getTransformFrom{Parent|Child}BodyNode() (#1377)
chhinze Jul 25, 2019
d8f2636
Remove specifying suffix and prefix of python module (#1378)
jslee02 Jul 26, 2019
74317c5
Fix refresh of LineSegmentShapeNode (#1381)
jslee02 Jul 31, 2019
af415aa
Update required clang-format version in CONTRIBUTING.md
jslee02 Aug 8, 2019
285d0b6
Format utils code (#1384)
jslee02 Aug 9, 2019
da36e93
Allow parsing SDF up to version 1.6 (#1385)
jslee02 Aug 9, 2019
6b889db
Create dynamics aspect for collision shape in sdf parser (#1386)
jslee02 Aug 10, 2019
775a7d3
Parse sdf's joint dynamics completely (#1383)
vinnamkim Aug 12, 2019
15b5af8
Add pybind wrappers for BodyNode's getChildBodyNode() & getChil… (#1387)
chhinze Aug 12, 2019
d0f5179
Set Azure timeout to 2 hours for all the jobs (#1390)
jslee02 Aug 14, 2019
4e8180f
Add Inertia python bindings (#1388)
chhinze Aug 14, 2019
a7e1bf3
Fix typo in error message (#1391)
jslee02 Aug 15, 2019
7978ebb
Fix typos in wrappers of dartpy Skeletons (#1392)
chhinze Aug 15, 2019
b74e97a
Support colcon workspace with bullet and ode (#1389)
scpeters Aug 16, 2019
1ea5a66
Add wrapper to get all `BodyNode`s from a `Skeleton` (#1397)
chhinze Aug 16, 2019
6b023c2
FindBullet: separate win32 optimized and debug libraries (#1395)
scpeters Aug 16, 2019
1db05b0
Update changelog (#1403)
jslee02 Aug 17, 2019
7ed5bc3
Fix compilation warnings from VS2019 (#1402)
jslee02 Aug 17, 2019
8e6c228
Merge 6.9.2 to master (6.10.0) (#1404)
jslee02 Aug 17, 2019
7b8cb9e
Add option for parsing root joint type without world link (#1399)
jslee02 Aug 17, 2019
245aafb
Fix GLUT dependency check for Windows (#1405)
jslee02 Aug 17, 2019
bd37098
Azure: install vcpkg dependencies for utils component (#1400)
scpeters Aug 17, 2019
96f864b
Fix/py color support osg viewer (#1398)
chhinze Aug 17, 2019
660b0f4
Add IkFast parameter accessors to IkFast class (#1396)
jslee02 Aug 17, 2019
e480e2f
Use cmake message WARNING and SEND_ERROR when appropriate (#1401)
scpeters Aug 17, 2019
49dd195
Fix Travis CI on macOS (#1409)
jslee02 Aug 28, 2019
9ea802b
Revert default root joint name to "rootJoint" (#1406)
jslee02 Aug 28, 2019
8cf7f5c
[dartpy] Add wrapper for convertToPositions() in class BallJoint (#1408)
chhinze Aug 28, 2019
54d413a
Add joint velocity limit constraint support (#1407)
jslee02 Aug 29, 2019
e125098
Enable URDF parser to read visual and collision names (#1410)
jslee02 Aug 29, 2019
110269c
Remove dependency on Boost::regex (#1412)
jslee02 Sep 8, 2019
409bbc2
Setup GitHub Actions (new CI) (#1413)
jslee02 Sep 14, 2019
d02ac27
Add GitHub Actions badge to REAME.md
jslee02 Sep 15, 2019
e9c0ae6
Fix OSG transparent object sorting (#1414)
jslee02 Sep 16, 2019
69b4fd4
Add type property to constraint classes (#1415)
jslee02 Sep 16, 2019
f709d00
Add MJCF (MuJoCo model file format) parser (#1416)
jslee02 Sep 20, 2019
e53b1fb
Allow to set joint rest position out of joint limits (#1418)
jslee02 Sep 20, 2019
18bff8e
Remove use of boost::filesystem in public APIs (#1417)
jslee02 Sep 20, 2019
d698355
Split build tests to balance loads on CI services (#1419)
jslee02 Sep 22, 2019
07fd1a1
Remove requirements of setting OS_NAME and SUDO when running CI… (#1421)
jslee02 Sep 24, 2019
9192c38
install_osx: try removing sudo from brew commands (#1426)
scpeters Nov 17, 2019
c64a78c
Add secondary friction coefficient parameter (#1424)
scpeters Nov 21, 2019
31a8a0f
Add friction direction unit vector and frame parameters (#1427)
scpeters Dec 7, 2019
7aa73fe
[dartpy] Fix enabling drag and drop of InteractiveFrame (#1432)
jslee02 Jan 26, 2020
df79cde
Add support new if() IN_LIST operator in DARTConfig.cmake (#1434)
jslee02 Feb 24, 2020
febad10
Add modifier key support to ImGuiHandler (#1436)
jslee02 Feb 27, 2020
0be8c3d
Update Findfcl.cmake to support FCL 0.6 (#1441)
jslee02 Mar 19, 2020
a8e4c3c
Update to macOS-10.15 (#1440)
jslee02 Mar 19, 2020
29c0e51
Support Ubuntu 20.04 (#1442)
jslee02 Mar 24, 2020
70686c2
Add gtest macros for Eigen object comparisons (#1443)
jslee02 Mar 25, 2020
eb0c7de
Update changelog for DART 6.9: switched to C++14 (#1444)
jslee02 Apr 5, 2020
d9cd2f9
Merge remote-tracking branch 'origin/release-6.9'
Apr 5, 2020
0b900a1
Install numpy using pip3 instead of Homebrew (#1448)
jslee02 Apr 22, 2020
9cfc3f6
Add ConeShape support for FCLCollisionDetector (#1447)
jslee02 Apr 22, 2020
c79cf9b
Wrap IKFast solutions for cyclic joint positions (#1452)
jslee02 Apr 27, 2020
9180d98
Build without ODE on Windows CI builds (#1453)
jslee02 Apr 27, 2020
4f9b738
Add python bindings for pointcloud and contact retrieval (#1455)
chhinze May 1, 2020
35bd08e
Add workaround for invalid path in finding urdfdom on Windows (#1456)
jslee02 May 3, 2020
3f76766
Use pre-built vcpkg packages to reduce build time (#1458)
jslee02 May 4, 2020
25abb49
Fix small bug in BoxedLcpConstraintSolver (#1459)
costashatz May 10, 2020
d084d0d
Fix segfault from raycast when no ray hit (#1461)
jslee02 May 10, 2020
19c33a6
Fix TypeError from dartpy.dynamics.Node.getBodyNodePtr() (#1463)
jslee02 May 10, 2020
becbead
Remove gccfilter in favor of the default feature of GCC and Clang (#1…
jslee02 May 11, 2020
b4da096
Update signal to remove a connection when disconnected (#1462)
jslee02 May 12, 2020
514a928
Add Python bindings for CollisionFilter (#1465)
jslee02 May 12, 2020
dde7ab4
Print warning when planning component is being built (#1471)
jslee02 Jun 3, 2020
a15611b
Don't force CMAKE_INSTALL_PREFIX on windows (#1478)
scpeters Jul 25, 2020
3f61c50
Enforce to use OSG 3.7.0 or greater on macOS Catalina (#1479)
jslee02 Jul 28, 2020
43a2d10
Add pyramid shape support (#1466)
jslee02 Jul 31, 2020
e84d236
Added pybind eigen header to dartpy DistanceResult (#1480)
balakumar-s Aug 5, 2020
a0a11f9
Fix: update tutorial doc to reflect new APIs (#1481)
alinen Aug 16, 2020
a373957
Fix mixed intrinsic and extrinsic camera parameters in OpenGL project…
jslee02 Aug 16, 2020
7db4c08
Add build on Groovy to GitHub Actions (#1486)
jslee02 Aug 22, 2020
e934d08
Merge release-6.9 into master (#1488)
jslee02 Aug 27, 2020
abb8575
Increment body node version after it has been removed from a new skel…
jslee02 Aug 27, 2020
88dfe70
Add python bindings for adding ShapeFrames to CollisionGroup (#1490)
jslee02 Aug 28, 2020
c6391f7
Build DART with pagmo2 in CI (#1493)
jslee02 Aug 30, 2020
ae9f4c7
Update Dear ImGui to 1.79 (#1498)
jslee02 Sep 16, 2020
54c0097
Enable mouse middle and right buttons for ImGui (#1500)
jslee02 Sep 17, 2020
185fbc2
Change dartpy install command to make install-dartpy (#1503)
jslee02 Sep 21, 2020
46abc66
Fix compatibility with clang-cl (#1509)
traversaro Oct 14, 2020
9cfa019
Update appveyor to use vcpkg build cache (#1511)
jslee02 Oct 16, 2020
cf69920
Mute output from wget and unzip (#1512)
jslee02 Oct 16, 2020
2ed57ec
Fix MSVC linking for assimp and fcl (#1510)
traversaro Oct 17, 2020
f91223c
Add initial Dockerfile (#1514)
jslee02 Oct 17, 2020
0a99f3c
Fix dartpy build in Dockerfile (#1515)
jslee02 Oct 17, 2020
2ca551a
Build and run tests on Windows CI (#1513)
jslee02 Oct 17, 2020
202bad5
Use '**' to build all the branches and tags even that contains slashes
Oct 17, 2020
836421c
Cleanup CI settings (#1518)
jslee02 Oct 17, 2020
85a9b49
Merge 6.9.5 to master (#1517)
jslee02 Oct 17, 2020
2ef44da
Fix pytest run on CI (#1519)
jslee02 Oct 18, 2020
7476d16
Use prebuilt Ubuntu Docker images for CIs (#1520)
jslee02 Oct 18, 2020
83b0c8c
Fix C++ tests are not running (#1521)
jslee02 Oct 19, 2020
4b0b4dc
Fix 'brew update' error (#1523)
jslee02 Oct 26, 2020
41dac54
Windows compile fix: Be more specific about which AspectWithState to …
donnyward Dec 15, 2020
3ba45af
Make dart.pc relocatable (#1529)
jslee02 Dec 29, 2020
2ed52c3
Add force dependent slip (#1505)
azeey Dec 29, 2020
0ef6753
Fix installing dependencies on macOS image (#1530)
jslee02 Dec 29, 2020
f0ba239
Add multi-architecture builds to CI (#1531)
jslee02 Dec 30, 2020
7b5a8a0
Merge remote-tracking branch 'upstream/master' into merge_from_upstream
scpeters Feb 22, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
51 changes: 21 additions & 30 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,25 @@
version: "{build}"

image:
- Visual Studio 2017
- Visual Studio 2019
# - Ubuntu1604
# - Ubuntu1804

platform: x64

# specify custom environment variables
environment:
VCPKG_BUILD_TAG: v0.2.0-70f192e
MSVC_DEFAULT_OPTIONS: ON
CMAKE_TOOLCHAIN_FILE: -DCMAKE_TOOLCHAIN_FILE="C:\tools\vcpkg\scripts\buildsystems\vcpkg.cmake"
CMAKE_TOOLCHAIN_FILE: -DCMAKE_TOOLCHAIN_FILE="C:\dartsim\vcpkg\scripts\buildsystems\vcpkg.cmake"
matrix:
- CMAKE_GENERATOR: -G"Visual Studio 15 2017 Win64"
CMAKE_TOOLCHAIN: -T"v141"
- CMAKE_GENERATOR: -G"Visual Studio 16 2019"
CMAKE_TOOLCHAIN: -T"v142"

# build configuration, i.e. Debug, Release, etc.
configuration:
- Debug
- Release
# - Release

# scripts that are called at very beginning, before repo cloning
init:
Expand All @@ -37,47 +38,30 @@ install:
#------------------
# Windows 10
#------------------
# update vcpkg
# - cmd: cd C:\tools\vcpkg
# - cmd: git pull
# - cmd: .\bootstrap-vcpkg.bat

- cmd: if "%platform%"=="Win32" set VCPKG_ARCH=x86-windows
- cmd: if "%platform%"=="x64" set VCPKG_ARCH=x64-windows

# remove outdated versions
# - cmd: vcpkg remove --outdated --recurse

# install required dependencies
- cmd: vcpkg install --recurse --triplet %VCPKG_ARCH% assimp boost-system boost-filesystem ccd eigen3 fcl

# install optional dependencies
#- vcpkg install --recurse --triplet %VCPKG_ARCH% bullet3 flann freeglut nlopt ode opengl osg tinyxml2 urdfdom
#- vcpkg install ipopt:%VCPKG_ARCH%

- cmd: vcpkg integrate install
- cmd: mkdir -p C:\dartsim
- cmd: choco install -y wget
- cmd: wget -q https://github.com/dartsim/vcpkg-build/releases/download/%VCPKG_BUILD_TAG%/vcpkg-dartsim-dependencies.zip
- cmd: unzip -qq vcpkg-dartsim-dependencies.zip -d C:\dartsim
- cmd: cd "%APPVEYOR_BUILD_FOLDER%"

#-------------------------------
# Ubuntu 16.04 LTS && 18.04 LTS
#-------------------------------
- sh: sudo apt-get update
- sh: sudo apt-get --yes install build-essential cmake pkg-config git
- sh: sudo apt-get --yes install libeigen3-dev libassimp-dev libccd-dev libfcl-dev libboost-regex-dev libboost-system-dev
- sh: sudo apt-get --yes install libeigen3-dev libassimp-dev libccd-dev libfcl-dev libboost-system-dev
- 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
- sh: sudo apt-get --yes install clang-format-6.0

# preserve contents of selected directories and files across project builds
cache:
- C:\tools\vcpkg\installed -> .appveyor.yml

build_script:
#------------------
# Windows 10
#------------------
- cmd: mkdir build && cd build
- cmd: cmake %CMAKE_GENERATOR% -DCMAKE_BUILD_TYPE=%configuration% -DDART_MSVC_DEFAULT_OPTIONS="%MSVC_DEFAULT_OPTIONS%" %CMAKE_TOOLCHAIN_FILE% %CMAKE_TOOLCHAIN% ..
# - cmd: cmake --build . --target ALL_BUILD --config %configuration% -- /maxcpucount:4 /verbosity:quiet
- 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% ..
- cmd: cmake --build . --target ALL_BUILD --config %configuration% --parallel

#-------------------------------
# Ubuntu 16.04 LTS && 18.04 LTS
Expand All @@ -88,5 +72,12 @@ build_script:
- sh: make check-format

test_script:
#- cmd: ctest --build-config %configuration% --parallel 4 --output-on-failure
#------------------
# Windows 10
#------------------
- cmd: ctest --output-on-fauilure

#-------------------------------
# Ubuntu 16.04 LTS && 18.04 LTS
#-------------------------------
- sh: ctest -j4
209 changes: 54 additions & 155 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,158 +2,57 @@
# Ref: https://docs.microsoft.com/en-us/azure/devops/pipelines

jobs:
- job: xenial_gcc_release
pool:
vmImage: 'ubuntu-16.04'
variables:
OS_NAME: linux
COMPILER: gcc
BUILD_TYPE: Release
BUILD_DIR: $(Build.SourcesDirectory)
DOCKERFILE: Dockerfile.ubuntu-xenial
steps:
- template: .ci/azure-pipelines/docker.yml

- job: bionic_gcc_debug
pool:
vmImage: 'ubuntu-16.04'
variables:
OS_NAME: linux
COMPILER: gcc
BUILD_TYPE: Debug
BUILD_DIR: $(Build.SourcesDirectory)
DOCKERFILE: Dockerfile.ubuntu-bionic
steps:
- template: .ci/azure-pipelines/docker.yml

- job: bionic_gcc_dartpy_release
pool:
vmImage: 'ubuntu-16.04'
variables:
OS_NAME: linux
COMPILER: gcc
BUILD_TYPE: Release
BUILD_DARTPY: ON
BUILD_DIR: $(Build.SourcesDirectory)
DOCKERFILE: Dockerfile.ubuntu-bionic
steps:
- template: .ci/azure-pipelines/docker.yml
timeoutInMinutes: 0

- job: disco_gcc_debug
pool:
vmImage: 'ubuntu-16.04'
variables:
OS_NAME: linux
COMPILER: gcc
BUILD_TYPE: Debug
BUILD_DIR: $(Build.SourcesDirectory)
DOCKERFILE: Dockerfile.ubuntu-disco
steps:
- template: .ci/azure-pipelines/docker.yml

- job: disco_gcc_dartpy_release
pool:
vmImage: 'ubuntu-16.04'
variables:
OS_NAME: linux
COMPILER: gcc
BUILD_TYPE: Release
BUILD_DARTPY: ON
BUILD_DIR: $(Build.SourcesDirectory)
DOCKERFILE: Dockerfile.ubuntu-disco
steps:
- template: .ci/azure-pipelines/docker.yml
timeoutInMinutes: 0

- job: eoan_gcc_debug
pool:
vmImage: 'ubuntu-16.04'
variables:
OS_NAME: linux
COMPILER: gcc
BUILD_TYPE: Debug
BUILD_DIR: $(Build.SourcesDirectory)
DOCKERFILE: Dockerfile.ubuntu-eoan
steps:
- template: .ci/azure-pipelines/docker.yml

- job: eoan_gcc_dartpy_release
pool:
vmImage: 'ubuntu-16.04'
variables:
OS_NAME: linux
COMPILER: gcc
BUILD_TYPE: Release
BUILD_DARTPY: ON
BUILD_DIR: $(Build.SourcesDirectory)
DOCKERFILE: Dockerfile.ubuntu-eoan
steps:
- template: .ci/azure-pipelines/docker.yml
timeoutInMinutes: 0

- job: mojav_clang_debug
pool:
vmImage: 'macOS-10.14'
variables:
OS_NAME: osx
BUILD_TYPE: Debug
BUILD_DIR: $(Build.SourcesDirectory)
steps:
- script: |
'.ci/install.sh'
displayName: 'Install'
- script: |
'.ci/script.sh'
displayName: 'Script'

- job: mojav_clang_dartpy_release
pool:
vmImage: 'macOS-10.14'
variables:
OS_NAME: osx
BUILD_TYPE: Release
BUILD_DARTPY: ON
BUILD_DIR: $(Build.SourcesDirectory)
steps:
- script: |
'.ci/install.sh'
displayName: 'Install'
- script: |
'.ci/script.sh'
displayName: 'Script'

- job: windows_vs2019_x64
pool:
vmImage: 'windows-2019'
timeoutInMinutes: 0
strategy:
matrix:
# Debug64:
# CONFIGURATION: 'Debug'
Release64:
CONFIGURATION: 'Release'
variables:
VCPKG_INSTALL_ROOT: $(Build.SourcesDirectory)\vcpkg
VCPKG_ARCH: 'x64-windows'
VCPKG_PACKAGES: 'assimp boost-system boost-filesystem ccd eigen3 fcl'
BUILD_TOOLSET_VERSION: '142'
CMAKE_GENERATOR: 'Visual Studio 16 2019'
steps:
- script: |
git clone -q --depth 1 https://github.com/microsoft/vcpkg.git $(VCPKG_INSTALL_ROOT)
$(VCPKG_INSTALL_ROOT)\bootstrap-vcpkg.bat
displayName: 'Install vcpkg'
- script: |
$(VCPKG_INSTALL_ROOT)\vcpkg.exe install --recurse --triplet $(VCPKG_ARCH) $(VCPKG_PACKAGES)
$(VCPKG_INSTALL_ROOT)\vcpkg.exe integrate install
displayName: 'Install dependencies'
- script: |
cmake --version
mkdir build
cd build
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
cmake --build . --target ALL_BUILD --config $(CONFIGURATION) -- /maxcpucount:4
displayName: 'Build'
workingDirectory: '$(Build.SourcesDirectory)'

- job: xenial_gcc_debug
timeoutInMinutes: 120
pool:
vmImage: "ubuntu-20.04"
variables:
COMPILER: gcc
BUILD_TYPE: Debug
BUILD_DIR: $(Build.SourcesDirectory)
DOCKER_NAME: dartsim/dart-dev:xenial-v6.10
BUILD_DARTPY: OFF
steps:
- template: .ci/azure-pipelines/docker.yml

- job: bionic_gcc_debug
timeoutInMinutes: 120
pool:
vmImage: "ubuntu-20.04"
variables:
COMPILER: gcc
BUILD_TYPE: Debug
BUILD_DIR: $(Build.SourcesDirectory)
DOCKER_NAME: dartsim/dart-dev:bionic-v6.10
BUILD_DARTPY: OFF
steps:
- template: .ci/azure-pipelines/docker.yml

- job: focal_gcc_debug
timeoutInMinutes: 120
pool:
vmImage: "ubuntu-20.04"
variables:
COMPILER: gcc
BUILD_TYPE: Debug
BUILD_DIR: $(Build.SourcesDirectory)
DOCKER_NAME: dartsim/dart-dev:focal-v6.10
BUILD_DARTPY: OFF
steps:
- template: .ci/azure-pipelines/docker.yml

- job: catalina_clang_debug
timeoutInMinutes: 120
pool:
vmImage: "macOS-10.15"
variables:
BUILD_TYPE: Debug
BUILD_DIR: $(Build.SourcesDirectory)
BUILD_DARTPY: OFF
steps:
- script: |
'.ci/install.sh'
displayName: "Install"
- script: |
'.ci/build.sh'
displayName: "Script"
17 changes: 9 additions & 8 deletions .ci/azure-pipelines/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ parameters:
numThreads: 4

steps:
- script: |
docker build -t ${DOCKERFILE,,} -f ".ci/docker/$DOCKERFILE" .;
docker run -itd -v $(Build.SourcesDirectory):$(Build.SourcesDirectory) --env-file .ci/docker/env.list --name dart-docker ${DOCKERFILE,,};
docker exec dart-docker /bin/sh -c "cd $(Build.SourcesDirectory) && ./.ci/install.sh";
displayName: 'Install'
- script: |
docker exec dart-docker /bin/sh -c "cd $(Build.SourcesDirectory) && ./.ci/script.sh -j${{ parameters.numThreads }}";
displayName: 'Script'
- script: docker pull $DOCKER_NAME
displayName: "Pull dev container"
- script: |
docker run \
-v $(Build.SourcesDirectory):$(Build.SourcesDirectory) \
--env-file .ci/docker/env.list \
$DOCKER_NAME \
/bin/sh -c "cd $(Build.SourcesDirectory) && ./.ci/build.sh -j${{ parameters.numThreads }}"
displayName: "Build"
4 changes: 2 additions & 2 deletions .ci/azure-pipelines/native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ parameters:

steps:
- script: |
./.ci/install.sh
sudo -E ./.ci/install.sh
displayName: 'Install'
- script: |
./.ci/script.sh -j${{ parameters.numThreads }}
sudo -E ./.ci/build.sh -j${{ parameters.numThreads }}
displayName: 'Script'
Loading