Closed adrianbroher closed 7 years ago
@rougier At least on the AppVeyor side of things this should be set up properly. Can you please check if there was a Webhooks installed for the AppVeyorCI (Project Settings > Webhooks should list _https://ci.appveyor.com/api/github/webhook (pullrequest and push))?
No, I don't see it, only Zenodo. I can try to add it by hand but I would need more information
I just added the AppVeyor hook. Output:
Build started
git clone -q --branch=master https://github.com/rougier/freetype-gl.git C:\projects\freetype-gl
git checkout -qf 4014bc92b0d72224e23417b5b91f38d9465d8d86
Specify a project or solution file. The directory does not contain a project or solution file.
Can you access AppVeyour output by the way ?
After merge:
CMake Error at CMakeLists.txt:96 (message):
`M_PI` not defined in `math.h`.
-- Configuring incomplete, errors occurred!
Undoing the merge. This is intentional playground.
Can you access AppVeyour output by the way ?
Yes: https://ci.appveyor.com/project/adrianbroher/freetype-gl
Sorry for the merge. I guess I'll configure appveyor to track the appveyor branch.
Done.
I'm confused:
You added another project under your name?
Yes. From your question I guess this is not the way to go... AppVeyor hook was absent from the freetype-gl settings
Well, okay. I will ask for guidance again after reading the appveyor docs.
I've never used AppVeyor before, I might be wrong. I'll check documentation as well.
What I found out so far:
Creating a webhook on github requires Administrator permissions. When somebody creates a project Appveyor installs only a webhook when that person has said admin rights on github for the repository.
You can recreate a webhook manually if the automatic creation failed for some reason: http://help.appveyor.com/discussions/questions/2272-github-webhook-deleted-how-to-recreate
This seems to work so far. I force pushed something onto the appveyor
branch and that triggered a build (currently failing of course).
Regarding the permissions: it's complex. An account on AppVeyor is more like an Github Organization than a regular account. You can add collaborators to the AppVeyor accounts in a specific role. For now there is nothing interesting here for this project IMO. https://www.appveyor.com/docs/team-setup
Playground.