You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nuget/readme.md
+115Lines changed: 115 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,3 +109,118 @@ When you publish to GitHub the lib directory should contain nuget.config file wi
109
109
</packageSourceCredentials>
110
110
</configuration>
111
111
```
112
+
113
+
# Build Bling Fire dlls/NuGet package with Azure DevOps build pipeline
114
+
115
+
Now we can use Azure DevOps to build BlingFire dlls and NuGet package.
116
+
117
+
Pipeline file [azure-pipelines.yml](../azure-pipelines.yml) is now updated to be able to build BlingFire dlls for windows-x64, windows-arm64, osx-x64, osx-arm-64, linux-x64, linux-arm64.
118
+
119
+
Here are some good documentations about how to create Azure DevOps pipelines:
120
+
121
+
1.[Create your first pipeline.](https://docs.microsoft.com/en-us/azure/devops/pipelines/create-first-pipeline?view=azure-devops&tabs=java%2Ctfs-2018-2%2Cbrowser)
A good thing about using Azure DevOps is: it provides [list of Microsoft-hosted agents](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml), which include Windows, Linux and Osx, with all the popular tools pre-installed.
125
+
126
+
However, there are no ARM64 microsoft-hosted agents yet, so currently in [azure-pipelines.yml](../azure-pipelines.yml) all the ARM64 dlls are built with cmake cross-compiling from X64 agents.
127
+
<br/><br/>
128
+
129
+
## Build pipeline for Github BlingFire repo
130
+
A [build pipeline](https://devdiv.visualstudio.com/DevDiv/_build?definitionId=16503&_a=summary) for [Github BlingFire repo](https://github.com/microsoft/BlingFire) is created (only accessble by Microsoft interal users). It will be triggered whenerver thare's new commeits to master branch.
131
+
<br/><br/>
132
+
133
+
## Get dlls and NuGet from Azure DevOps Build pipeline
134
+
When the one instance of the build pipeline completed sucessfuly, 7 artifacts will be avaible to download from Azure DevOps.
135
+
136
+
We can find the artifacts by clicking the highlighted <mark>"7 published"</mark> as shows in the following image.
The first 6 are native dlls for each platform, the last one is the Nuget package of Bling Fire with all the latest dlls. To download, simply click on them.
143
+
<br/><br/>
144
+
145
+
146
+
# Build Bling Fire Dlls/Nuget package locally
147
+
We can follow steps in [azure-pipelines.yml](../azure-pipelines.yml) to build dlls locally.
148
+
149
+
## windows-x64
150
+
Build platform is windows-x64.
151
+
Please make sure visual studio 'Desktop development with C++' is installed.
0 commit comments