openmedicus / gtk-sharp

DEPRECATED: Use https://github.com/GLibSharp/GtkSharp or https://github.com/GtkSharp/GtkSharp
Other
22 stars 6 forks source link

AppVeyor integration #25

Closed stil closed 7 years ago

stil commented 7 years ago

This pull request makes several improvements to build process to make it work with AppVeyor automatic builds.

I confirmed following minimal AppVeyor configuration being able to automatically compile gtk-sharp

version: 1.0.{build}
environment:
  PIP: C:\Python35-x64\Scripts\pip.exe
install:
- ps: >-
    $env:Path = "C:\msys64\usr\bin;$($env:Path)" # https://github.com/appveyor/ci/issues/597#issuecomment-196849776

    & $env:PIP install executor yattag vsgen
build_script:
- ps: >-
    cd C:\projects\gtk-sharp\NuGet

    C:\Python35-x64\python.exe build.py all
artifacts:
- path: NuGet\nupkg\*.nupkg

Let me know if you're willing setting up auto-builds in within openmedicus/gtk-sharp repo. Please feel free to discuss this pull request.

AppVeyor is able to automatically build nupkgs every commit, which is what we're missing right now.

I'd suggest squashing this pull request into one commit if it's going to be accepted.

harry-cpp commented 7 years ago

Side note, in case auto building of NuGet does get accepted, I can give you access to https://www.nuget.org/packages/gtk-sharp3/ so you can setup auto publishing there :)

mikkeljohnsen commented 7 years ago

How do I setup auto building ?

stil commented 7 years ago

Can you chat on IRC/Hangouts or other IM? I'd quickly explain what you need to do. Basically, you need to sign up on AppVeyor.com, add your project openmedicus/gtk-sharp and do a little bit of setup to ensure it works.

harry-cpp commented 7 years ago

@stil @mikkeljohnsen What are your nuget.org usernames?

stil commented 7 years ago

@mikkeljohnsen invited you to gitter chat if you want to discuss. Link: https://gitter.im/gtk-sharp/Lobby