-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into benchmarks
- Loading branch information
Showing
495 changed files
with
4,859 additions
and
4,285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
trigger: | ||
paths: | ||
include: | ||
- doc | ||
|
||
pr: | ||
paths: | ||
include: | ||
- doc | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: Build-CI | ||
source: Build | ||
trigger: | ||
stages: | ||
- build_gcc | ||
containers: | ||
- container: fmt # for formatting.yaml | ||
image: pointcloudlibrary/fmt | ||
- container: doc # for documentation.yaml | ||
image: pointcloudlibrary/doc | ||
- container: env1804 # for tutorials.yaml | ||
image: pointcloudlibrary/env:18.04 | ||
|
||
stages: | ||
- stage: formatting | ||
displayName: Formatting | ||
# if docs pipeline triggered by build_gcc stage, | ||
# the formatting stage has already run, thus it | ||
# won't run for a second time here. | ||
condition: ne(variables['Build.Reason'], 'ResourceTrigger') | ||
jobs: | ||
- template: formatting.yaml | ||
|
||
- stage: documentation | ||
displayName: Documentation | ||
condition: in(dependencies.formatting.result, 'Succeeded', 'SucceededWithIssues', 'Skipped') | ||
jobs: | ||
- template: documentation.yaml | ||
|
||
- stage: tutorials | ||
displayName: Tutorials | ||
condition: in(dependencies.documentation.result, 'Succeeded', 'SucceededWithIssues') | ||
jobs: | ||
- template: tutorials.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# escape=` | ||
|
||
FROM mcr.microsoft.com/windows/servercore:ltsc2019 | ||
|
||
# Use "--build-arg platform=x64" for 64 bit or x86 for 32 bit. | ||
ARG PLATFORM | ||
|
||
# Use to set specific commit to checkout | ||
ARG VCPKGCOMMIT | ||
|
||
# Download channel for fixed install. | ||
ARG CHANNEL_BASE_URL=https://aka.ms/vs/16/release | ||
|
||
ADD $CHANNEL_BASE_URL/channel C:\TEMP\VisualStudio.chman | ||
|
||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] | ||
|
||
# Download and install Build Tools for Visual Studio 2019 for native desktop | ||
RUN wget $Env:CHANNEL_BASE_URL/vs_buildtools.exe -OutFile 'C:\TEMP\vs_buildtools.exe'; ` | ||
Start-Process -FilePath C:\TEMP\vs_buildtools.exe -ArgumentList ` | ||
"--quiet", ` | ||
"--norestart", ` | ||
"--nocache", ` | ||
"--installPath", ` | ||
"C:\BuildTools", ` | ||
"--wait", ` | ||
"--channelUri", ` | ||
"C:\TEMP\VisualStudio.chman", ` | ||
"--installChannelUri", ` | ||
"C:\TEMP\VisualStudio.chman", ` | ||
"--add", ` | ||
"Microsoft.VisualStudio.Workload.VCTools", ` | ||
"--includeRecommended" ` | ||
-Wait -PassThru; ` | ||
del c:\temp\vs_buildtools.exe; | ||
|
||
RUN iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')); ` | ||
choco install cmake git --installargs 'ADD_CMAKE_TO_PATH=System' -y --no-progress | ||
|
||
RUN git clone https://github.com/microsoft/vcpkg.git; cd vcpkg; git checkout $Env:VCPKGCOMMIT; | ||
|
||
# To explicit set VCPKG to only build Release version of the libraries. | ||
COPY $PLATFORM'-windows-rel.cmake' 'c:\vcpkg\triplets\'$PLATFORM'-windows-rel.cmake' | ||
RUN cd .\vcpkg; ` | ||
.\bootstrap-vcpkg.bat; ` | ||
.\vcpkg install boost flann eigen3 qhull vtk[qt,opengl] gtest --triplet $Env:PLATFORM-windows-rel --clean-after-build; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
set(VCPKG_TARGET_ARCHITECTURE x64) | ||
set(VCPKG_CRT_LINKAGE dynamic) | ||
set(VCPKG_LIBRARY_LINKAGE dynamic) | ||
set(VCPKG_BUILD_TYPE release) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
set(VCPKG_TARGET_ARCHITECTURE x86) | ||
set(VCPKG_CRT_LINKAGE dynamic) | ||
set(VCPKG_LIBRARY_LINKAGE dynamic) | ||
set(VCPKG_BUILD_TYPE release) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.