Repository navigation
CI integration - #15
Conversation
| - copy "%GPG_DIR%\lib\libassuan.imp" "%GPG_DIR%\lib\libassuan.a" | ||
| - copy "%GPG_DIR%\lib\libgpgme.imp" "%GPG_DIR%\lib\libgpgme.a" | ||
| - set PATH=%GOPATH%\bin;%GOROOT%\bin;%GPG_DIR%\bin;C:\MinGW\bin;%PATH% | ||
| - C:\cygwin\bin\sed -i 's/"GPG_AGENT_INFO"/"GPG_AGENT_INFO="/;s/C.unsetenv(v)/C.putenv(v)/' %APPVEYOR_BUILD_FOLDER%\gpgme.go |
There was a problem hiding this comment.
Also, this is a crude hack to get your crude hack working on MinGW. (on-the-fly replacing your unsetenv("GPG_AGENT_INFO") with putenv("GPG_AGENT_INFO=")) There might be better solutions, but I don't really speak C, so I can't do anything there :/
There was a problem hiding this comment.
I can patch this. TBH I'm not really sure why this cannot use os.Unsetenv considering this entire library is CGO I don't really understand the comment. Will have to do some testing.
There was a problem hiding this comment.
it would be boring if every platform were the same, wouldn't it? ;)
https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Function-Portability.html
|
Okay, I took another look. That was... trivial. |
This pull request adds
At the moment, both CIs fail and I guess I need some help from you to make it work.
in the windows tests, everything using
C.gpgme_data_new_from_fdseems to fail?the linux tests just plainly fail. I feel like there's just an environment variable that needs to be set for the library to be found or something, but I just don't see exactly what's missing. Maybe you have an idea?
If you want to test it yourself, best would be in a separate branch.
You can go to http://travis-ci.org/ and http://appveyor.com/ respectively, log in with your github account and enable automatic builds for the repository for any specific branch.
Tests will be run automatically as soon as something is pushed.