Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ ENDIF()

IF (WIN32 AND MSVC)
set (CMAKE_CXX_FLAGS " -DNDEBUG")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zi")
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /DEBUG /OPT:REF /OPT:ICF")
add_compile_options("/O2" "/W4" "/GS" "/Gy" "/guard:cf" "/Gm-" "/Zc:inline" "/fp:precise" "/GF" "/EHsc" "/ZH:SHA_256")
add_compile_options("$<$<CONFIG:Debug>:/Od>")
add_compile_options("$<$<NOT:$<CONFIG:Debug>>:/GL>")
Expand Down
64 changes: 63 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ jobs:
Contents: $(windowsDllName)
TargetFolder: '$(build.artifactstagingdirectory)/native'

- task: CopyFiles@2
displayName: 'Copy blingfiretokdll.pdb to: $(Build.ArtifactStagingDirectory)'
inputs:
SourceFolder: 'Release/Release'
Contents: "blingfiretokdll.pdb"
TargetFolder: '$(build.artifactstagingdirectory)/native'

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: blingfiretokdll.dll'
inputs:
Expand Down Expand Up @@ -99,7 +106,14 @@ jobs:
SourceFolder: 'Release/Release'
Contents: $(windowsDllName)
TargetFolder: '$(build.artifactstagingdirectory)/native'


- task: CopyFiles@2
displayName: 'Copy blingfiretokdll.pdb to: $(Build.ArtifactStagingDirectory)'
inputs:
SourceFolder: 'Release/Release'
Contents: "blingfiretokdll.pdb"
TargetFolder: '$(build.artifactstagingdirectory)/native'

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: blingfiretokdll.dll'
inputs:
Expand Down Expand Up @@ -317,35 +331,83 @@ jobs:
artifactName: $(win_X64_Artifact)
downloadPath: 'nuget/lib/runtimes/win-x64/native'

- task: CopyFiles@2
inputs:
SourceFolder: 'nuget/lib/runtimes/win-x64/native/$(win_X64_Artifact)'
Contents: '**'
TargetFolder: 'nuget/lib/runtimes/win-x64/native'
OverWrite: true
flattenFolders: true

- task: DownloadBuildArtifacts@0
displayName: 'Download Build Artifacts for windows arm64'
inputs:
artifactName: $(win_Arm64_Artifact)
downloadPath: 'nuget/lib/runtimes/win-arm64/native'

- task: CopyFiles@2
inputs:
SourceFolder: 'nuget/lib/runtimes/win-arm64/native/$(win_Arm64_Artifact)'
Contents: '**'
TargetFolder: 'nuget/lib/runtimes/win-arm64/native'
OverWrite: true
flattenFolders: true

- task: DownloadBuildArtifacts@0
displayName: 'Download Build Artifacts for osx x64'
inputs:
artifactName: $(osx_X64_Artifact)
downloadPath: 'nuget/lib/runtimes/osx-x64/native'

- task: CopyFiles@2
inputs:
SourceFolder: 'nuget/lib/runtimes/osx-x64/native/$(osx_X64_Artifact)'
Contents: '**'
TargetFolder: 'nuget/lib/runtimes/osx-x64/native'
OverWrite: true
flattenFolders: true

- task: DownloadBuildArtifacts@0
displayName: 'Download Build Artifacts for osx arm64'
inputs:
artifactName: $(osx_Arm64_Artifact)
downloadPath: 'nuget/lib/runtimes/osx-arm64/native'

- task: CopyFiles@2
inputs:
SourceFolder: 'nuget/lib/runtimes/osx-arm64/native/$(osx_Arm64_Artifact)'
Contents: '**'
TargetFolder: 'nuget/lib/runtimes/osx-arm64/native'
OverWrite: true
flattenFolders: true

- task: DownloadBuildArtifacts@0
displayName: 'Download Build Artifacts for linux x64'
inputs:
artifactName: $(linux_X64_Artifact)
downloadPath: 'nuget/lib/runtimes/linux-x64/native'

- task: CopyFiles@2
inputs:
SourceFolder: 'nuget/lib/runtimes/linux-x64/native/$(linux_X64_Artifact)'
Contents: '**'
TargetFolder: 'nuget/lib/runtimes/linux-x64/native'
OverWrite: true
flattenFolders: true

- task: DownloadBuildArtifacts@0
displayName: 'Download Build Artifacts for linux Arm64'
inputs:
artifactName: $(linux_Arm64_Artifact)
downloadPath: 'nuget/lib/runtimes/linux-arm64/native'

- task: CopyFiles@2
inputs:
SourceFolder: 'nuget/lib/runtimes/linux-arm64/native/$(linux_Arm64_Artifact)'
Contents: '**'
TargetFolder: 'nuget/lib/runtimes/linux-arm64/native'
OverWrite: true
flattenFolders: true

- task: DotNetCoreCLI@2
inputs:
Expand Down