Update ADO pipeline exclusion paths (#135)
This commit is contained in:
Родитель
d1f9225713
Коммит
223ce681a5
|
@ -17,20 +17,26 @@ trigger:
|
||||||
include:
|
include:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
include:
|
exclude:
|
||||||
- CMakeLists.txt
|
- '*.md'
|
||||||
- build/CompilerAndLinker.cmake
|
- LICENSE
|
||||||
- build/JoinPaths.cmake
|
- '.nuget/*'
|
||||||
|
- build/*.props
|
||||||
|
- build/*.ps1
|
||||||
|
- build/*.targets
|
||||||
|
|
||||||
pr:
|
pr:
|
||||||
branches:
|
branches:
|
||||||
include:
|
include:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
include:
|
exclude:
|
||||||
- CMakeLists.txt
|
- '*.md'
|
||||||
- build/CompilerAndLinker.cmake
|
- LICENSE
|
||||||
- build/JoinPaths.cmake
|
- '.nuget/*'
|
||||||
|
- build/*.props
|
||||||
|
- build/*.ps1
|
||||||
|
- build/*.targets
|
||||||
drafts: false
|
drafts: false
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -17,20 +17,26 @@ trigger:
|
||||||
include:
|
include:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
include:
|
exclude:
|
||||||
- CMakeLists.txt
|
- '*.md'
|
||||||
- build/CompilerAndLinker.cmake
|
- LICENSE
|
||||||
- build/JoinPaths.cmake
|
- '.nuget/*'
|
||||||
|
- build/*.props
|
||||||
|
- build/*.ps1
|
||||||
|
- build/*.targets
|
||||||
|
|
||||||
pr:
|
pr:
|
||||||
branches:
|
branches:
|
||||||
include:
|
include:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
include:
|
exclude:
|
||||||
- CMakeLists.txt
|
- '*.md'
|
||||||
- build/CompilerAndLinker.cmake
|
- LICENSE
|
||||||
- build/JoinPaths.cmake
|
- '.nuget/*'
|
||||||
|
- build/*.props
|
||||||
|
- build/*.ps1
|
||||||
|
- build/*.targets
|
||||||
drafts: false
|
drafts: false
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -20,20 +20,27 @@ trigger:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- README.md
|
- '*.md'
|
||||||
- HISTORY.md
|
|
||||||
- SECURITY.md
|
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
- CMake*
|
||||||
|
- '.nuget/*'
|
||||||
|
- build/*.cmake
|
||||||
|
- build/*.in
|
||||||
|
- build/*.ps1
|
||||||
|
|
||||||
pr:
|
pr:
|
||||||
branches:
|
branches:
|
||||||
include:
|
include:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- README.md
|
- '*.md'
|
||||||
- HISTORY.md
|
|
||||||
- SECURITY.md
|
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
- CMake*
|
||||||
|
- '.nuget/*'
|
||||||
|
- build/*.cmake
|
||||||
|
- build/*.in
|
||||||
|
- build/*.ps1
|
||||||
drafts: false
|
drafts: false
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -18,20 +18,25 @@ trigger:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- README.md
|
- '*.md'
|
||||||
- HISTORY.md
|
|
||||||
- SECURITY.md
|
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
- '.nuget/*'
|
||||||
|
- build/*.props
|
||||||
|
- build/*.ps1
|
||||||
|
- build/*.targets
|
||||||
|
|
||||||
pr:
|
pr:
|
||||||
branches:
|
branches:
|
||||||
include:
|
include:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- README.md
|
- '*.md'
|
||||||
- HISTORY.md
|
|
||||||
- SECURITY.md
|
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
- '.nuget/*'
|
||||||
|
- build/*.props
|
||||||
|
- build/*.ps1
|
||||||
|
- build/*.targets
|
||||||
drafts: false
|
drafts: false
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -18,20 +18,31 @@ trigger:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- README.md
|
- '*.md'
|
||||||
- HISTORY.md
|
|
||||||
- SECURITY.md
|
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
- CMake*
|
||||||
|
- '.nuget/*'
|
||||||
|
- build/*.cmake
|
||||||
|
- build/*.in
|
||||||
|
- build/*.props
|
||||||
|
- build/*.ps1
|
||||||
|
- build/*.targets
|
||||||
|
|
||||||
pr:
|
pr:
|
||||||
branches:
|
branches:
|
||||||
include:
|
include:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- README.md
|
- '*.md'
|
||||||
- HISTORY.md
|
|
||||||
- SECURITY.md
|
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
- CMake*
|
||||||
|
- '.nuget/*'
|
||||||
|
- build/*.cmake
|
||||||
|
- build/*.in
|
||||||
|
- build/*.props
|
||||||
|
- build/*.ps1
|
||||||
|
- build/*.targets
|
||||||
drafts: false
|
drafts: false
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -28,7 +28,7 @@ pool:
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GITHUB_PAT: $(GITHUBPUBLICTOKEN)
|
GITHUB_PAT: $(GITHUBPUBLICTOKEN)
|
||||||
DEST_DIR: $(DESTDIR)
|
LOCAL_PKG_DIR: '$(Agent.BuildDirectory)/install/'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: BUILD_WSL
|
- job: BUILD_WSL
|
||||||
|
@ -47,7 +47,7 @@ jobs:
|
||||||
displayName: CMake DirectX-Headers
|
displayName: CMake DirectX-Headers
|
||||||
inputs:
|
inputs:
|
||||||
cwd: directx-headers
|
cwd: directx-headers
|
||||||
cmakeArgs: . -DDXHEADERS_BUILD_TEST=OFF -DDXHEADERS_BUILD_GOOGLE_TEST=OFF
|
cmakeArgs: . -DDXHEADERS_BUILD_TEST=OFF -DDXHEADERS_BUILD_GOOGLE_TEST=OFF -DCMAKE_INSTALL_PREFIX=$(LOCAL_PKG_DIR)
|
||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
displayName: CMake DirectX-Headers (Build)
|
displayName: CMake DirectX-Headers (Build)
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -66,7 +66,7 @@ jobs:
|
||||||
displayName: CMake DirectXMath
|
displayName: CMake DirectXMath
|
||||||
inputs:
|
inputs:
|
||||||
cwd: directxmath
|
cwd: directxmath
|
||||||
cmakeArgs: .
|
cmakeArgs: . -DCMAKE_INSTALL_PREFIX=$(LOCAL_PKG_DIR)
|
||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
displayName: CMake DirectXMath (Build)
|
displayName: CMake DirectXMath (Build)
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -83,8 +83,8 @@ jobs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -OutFile $(DEST_DIR)usr/local/include/sal.h
|
Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -OutFile $(LOCAL_PKG_DIR)/include/sal.h
|
||||||
$fileHash = Get-FileHash -Algorithm SHA512 $(DEST_DIR)usr/local/include/sal.h | ForEach { $_.Hash} | Out-String
|
$fileHash = Get-FileHash -Algorithm SHA512 $(LOCAL_PKG_DIR)/include/sal.h | ForEach { $_.Hash} | Out-String
|
||||||
$filehash = $fileHash.Trim()
|
$filehash = $fileHash.Trim()
|
||||||
Write-Host "##[debug]SHA512: " $filehash
|
Write-Host "##[debug]SHA512: " $filehash
|
||||||
if ($fileHash -ne "1643571673195d9eb892d2f2ac76eac7113ef7aa0ca116d79f3e4d3dc9df8a31600a9668b7e7678dfbe5a76906f9e0734ef8d6db0903ccc68fc742dd8238d8b0") {
|
if ($fileHash -ne "1643571673195d9eb892d2f2ac76eac7113ef7aa0ca116d79f3e4d3dc9df8a31600a9668b7e7678dfbe5a76906f9e0734ef8d6db0903ccc68fc742dd8238d8b0") {
|
||||||
|
@ -95,7 +95,7 @@ jobs:
|
||||||
displayName: CMake DirectXMesh (Config) dbg
|
displayName: CMake DirectXMesh (Config) dbg
|
||||||
inputs:
|
inputs:
|
||||||
cwd: '$(Build.SourcesDirectory)'
|
cwd: '$(Build.SourcesDirectory)'
|
||||||
cmakeArgs: -B out -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$(DEST_DIR)usr/local/share;$(DEST_DIR)usr/local/cmake
|
cmakeArgs: -B out -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$(LOCAL_PKG_DIR)/share;$(LOCAL_PKG_DIR)/cmake
|
||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
displayName: CMake DirectXMesh (Build) dbg
|
displayName: CMake DirectXMesh (Build) dbg
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -105,7 +105,7 @@ jobs:
|
||||||
displayName: CMake DirectXMesh (Config) rel
|
displayName: CMake DirectXMesh (Config) rel
|
||||||
inputs:
|
inputs:
|
||||||
cwd: '$(Build.SourcesDirectory)'
|
cwd: '$(Build.SourcesDirectory)'
|
||||||
cmakeArgs: -B out2 -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(DEST_DIR)usr/local/share;$(DEST_DIR)usr/local/cmake
|
cmakeArgs: -B out2 -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(LOCAL_PKG_DIR)/share;$(LOCAL_PKG_DIR)/cmake
|
||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
displayName: CMake DirectXMesh (Build) rel
|
displayName: CMake DirectXMesh (Build) rel
|
||||||
inputs:
|
inputs:
|
||||||
|
|
|
@ -18,20 +18,25 @@ trigger:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- README.md
|
- '*.md'
|
||||||
- HISTORY.md
|
|
||||||
- SECURITY.md
|
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
- '.nuget/*'
|
||||||
|
- build/*.props
|
||||||
|
- build/*.ps1
|
||||||
|
- build/*.targets
|
||||||
|
|
||||||
pr:
|
pr:
|
||||||
branches:
|
branches:
|
||||||
include:
|
include:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- README.md
|
- '*.md'
|
||||||
- HISTORY.md
|
|
||||||
- SECURITY.md
|
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
- '.nuget/*'
|
||||||
|
- build/*.props
|
||||||
|
- build/*.ps1
|
||||||
|
- build/*.targets
|
||||||
drafts: false
|
drafts: false
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
@ -47,7 +52,7 @@ pool:
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GITHUB_PAT: $(GITHUBPUBLICTOKEN)
|
GITHUB_PAT: $(GITHUBPUBLICTOKEN)
|
||||||
DEST_DIR: $(DESTDIR)
|
LOCAL_PKG_DIR: '$(Agent.BuildDirectory)/install/'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: BUILD_WSL
|
- job: BUILD_WSL
|
||||||
|
@ -66,7 +71,7 @@ jobs:
|
||||||
displayName: CMake DirectX-Headers
|
displayName: CMake DirectX-Headers
|
||||||
inputs:
|
inputs:
|
||||||
cwd: directx-headers
|
cwd: directx-headers
|
||||||
cmakeArgs: . -DDXHEADERS_BUILD_TEST=OFF -DDXHEADERS_BUILD_GOOGLE_TEST=OFF
|
cmakeArgs: . -DDXHEADERS_BUILD_TEST=OFF -DDXHEADERS_BUILD_GOOGLE_TEST=OFF -DCMAKE_INSTALL_PREFIX=$(LOCAL_PKG_DIR)
|
||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
displayName: CMake DirectX-Headers (Build)
|
displayName: CMake DirectX-Headers (Build)
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -85,7 +90,7 @@ jobs:
|
||||||
displayName: CMake DirectXMath
|
displayName: CMake DirectXMath
|
||||||
inputs:
|
inputs:
|
||||||
cwd: directxmath
|
cwd: directxmath
|
||||||
cmakeArgs: .
|
cmakeArgs: . -DCMAKE_INSTALL_PREFIX=$(LOCAL_PKG_DIR)
|
||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
displayName: CMake DirectXMath (Build)
|
displayName: CMake DirectXMath (Build)
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -102,8 +107,8 @@ jobs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -OutFile $(DEST_DIR)usr/local/include/sal.h
|
Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -OutFile $(LOCAL_PKG_DIR)/include/sal.h
|
||||||
$fileHash = Get-FileHash -Algorithm SHA512 $(DEST_DIR)usr/local/include/sal.h | ForEach { $_.Hash} | Out-String
|
$fileHash = Get-FileHash -Algorithm SHA512 $(LOCAL_PKG_DIR)/include/sal.h | ForEach { $_.Hash} | Out-String
|
||||||
$filehash = $fileHash.Trim()
|
$filehash = $fileHash.Trim()
|
||||||
Write-Host "##[debug]SHA512: " $filehash
|
Write-Host "##[debug]SHA512: " $filehash
|
||||||
if ($fileHash -ne "1643571673195d9eb892d2f2ac76eac7113ef7aa0ca116d79f3e4d3dc9df8a31600a9668b7e7678dfbe5a76906f9e0734ef8d6db0903ccc68fc742dd8238d8b0") {
|
if ($fileHash -ne "1643571673195d9eb892d2f2ac76eac7113ef7aa0ca116d79f3e4d3dc9df8a31600a9668b7e7678dfbe5a76906f9e0734ef8d6db0903ccc68fc742dd8238d8b0") {
|
||||||
|
@ -114,7 +119,7 @@ jobs:
|
||||||
displayName: CMake DirectXMesh (Config) dbg
|
displayName: CMake DirectXMesh (Config) dbg
|
||||||
inputs:
|
inputs:
|
||||||
cwd: '$(Build.SourcesDirectory)'
|
cwd: '$(Build.SourcesDirectory)'
|
||||||
cmakeArgs: -B out -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$(DEST_DIR)usr/local/share;$(DEST_DIR)usr/local/cmake
|
cmakeArgs: -B out -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$(LOCAL_PKG_DIR)/share;$(LOCAL_PKG_DIR)/cmake
|
||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
displayName: CMake DirectXMesh (Build) dbg
|
displayName: CMake DirectXMesh (Build) dbg
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -124,7 +129,7 @@ jobs:
|
||||||
displayName: CMake DirectXMesh (Config) rel
|
displayName: CMake DirectXMesh (Config) rel
|
||||||
inputs:
|
inputs:
|
||||||
cwd: '$(Build.SourcesDirectory)'
|
cwd: '$(Build.SourcesDirectory)'
|
||||||
cmakeArgs: -B out2 -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(DEST_DIR)usr/local/share;$(DEST_DIR)usr/local/cmake
|
cmakeArgs: -B out2 -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(LOCAL_PKG_DIR)/share;$(LOCAL_PKG_DIR)/cmake
|
||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
displayName: CMake DirectXMesh (Build) rel
|
displayName: CMake DirectXMesh (Build) rel
|
||||||
inputs:
|
inputs:
|
||||||
|
|
|
@ -18,20 +18,31 @@ trigger:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- README.md
|
- '*.md'
|
||||||
- HISTORY.md
|
|
||||||
- SECURITY.md
|
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
- CMake*
|
||||||
|
- '.nuget/*'
|
||||||
|
- build/*.cmake
|
||||||
|
- build/*.in
|
||||||
|
- build/*.props
|
||||||
|
- build/*.ps1
|
||||||
|
- build/*.targets
|
||||||
|
|
||||||
pr:
|
pr:
|
||||||
branches:
|
branches:
|
||||||
include:
|
include:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- README.md
|
- '*.md'
|
||||||
- HISTORY.md
|
|
||||||
- SECURITY.md
|
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
- CMake*
|
||||||
|
- '.nuget/*'
|
||||||
|
- build/*.cmake
|
||||||
|
- build/*.in
|
||||||
|
- build/*.props
|
||||||
|
- build/*.ps1
|
||||||
|
- build/*.targets
|
||||||
drafts: false
|
drafts: false
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче