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

Set up CI with Azure Pipelines #31

Merged
merged 5 commits into from
Aug 3, 2019
Merged
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
22 changes: 22 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
trigger:
- master

pr:
- master

jobs:
- job: Build

pool:
vmImage: 'ubuntu-latest'

variables:
buildConfiguration: 'Release'

steps:
- script: dotnet run --configuration $(buildConfiguration) --project src/Core/BuildTools/BuildTools.csproj build/binder_scripts/build.json
displayName: 'Bind'
- script: dotnet pack --configuration $(buildConfiguration) --version-suffix build$(Build.BuildNumber)
displayName: 'Build/Pack'
- publish: build/output_packages
artifact: NuGet Packages
3 changes: 2 additions & 1 deletion build/props/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<PackageIconUrl>https://static.ultz.co.uk/img/SilkDotNet.png</PackageIconUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReleaseNotes>- First preview release</PackageReleaseNotes>
<PackageOutputPath>$(MSBuildThisFileDirectory)/../output_packages</PackageOutputPath>
<Version>1.0.0-preview</Version>
<Description>Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL and OpenAL.</Description>
</PropertyGroup>
</Project>
</Project>
2 changes: 1 addition & 1 deletion src/Windowing/Silk.NET.Windowing.Desktop/GlfwWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ public unsafe void Run()
}
else {
// Raise UpdateFrame, but don't await it yet.
var task = Task.Run(RaiseUpdateFrame);
var task = Task.Run((Action)RaiseUpdateFrame); // cast to action, ambiguous call

// Loop while we're still updating - the Update thread might be calling the main thread
while (!task.IsCompleted)
Expand Down