Skip to content

add PR testing on Windows #538

Closed
Closed

Description

@dirk-thomas

As a follow up of #470 it would be good to run the tests on Windows, too.

Activity

  1. mihaipopescu commented on Jun 29, 2016

    @mihaipopescu
    Collaborator

    What is the actual problem ? Can you be more specific ?

  2. dirk-thomas commented on Jun 29, 2016

    @dirk-thomas
    ContributorAuthor

    Similar to Travis every PR should be tested on Windows as well, e.g. using AppVeyor.

  3. dirk-thomas commented on Jul 1, 2016

    @dirk-thomas
    ContributorAuthor

    Can someone with admin priviliges please login to AppVeyor (using the GitHub account) and create a project for this repo. Then I can provide the pull request adding the necessary appveyor.yml file. For my fork it already works: dirk-thomas/uncrustify#1

  4. mihaipopescu commented on Jul 2, 2016

    @mihaipopescu
    Collaborator

    I guess only @bengardner and @gmaurel have admin rights but I in any case I think CMake scripts need to be merged in master first along with the project files cleanup as well.

    Can you make PRs for those as well ?

  5. dirk-thomas commented on Jul 2, 2016

    @dirk-thomas
    ContributorAuthor

    I don't think anything else is required for this. The CMake file is already available in master. In my fork adding the appveyor config was sufficient.

  6. dirk-thomas commented on Jul 16, 2016

    @dirk-thomas
    ContributorAuthor

    @gmaurel This should just take a minute and would allow all PRs to be tested on Windows.

  7. mihaipopescu commented on Jul 16, 2016

    @mihaipopescu
    Collaborator

    Could the Gnu autotools and solution files be removed ? I'd love to see a PR with that change.

  8. dirk-thomas commented on Jul 18, 2016

    @dirk-thomas
    ContributorAuthor

    @mihaipopescu That would absolutely make sense. I commented on the PR which added the CMake files with the same suggestion (#492 (comment)). But I think it is unrelated to this issue.

  9. mihaipopescu commented on Jul 19, 2016

    @mihaipopescu
    Collaborator

    Yes of course. Then for this, you can make a PR for adding appveyor.yml and add a comment that @gmaurel has to create the project on GitHub (probably adding some instructions to do that).

  10. dirk-thomas commented on Jul 19, 2016

    @dirk-thomas
    ContributorAuthor

    As mentioned above I think it makes sense to first create the AppVeyor project and then create the pull request. Otherwise AppVeyor won't run on that pull request. The appveyor.yml file is already available and "ready" in my referenced fork.

    The process is easy:

  11. gmaurel commented on Jul 20, 2016

    @gmaurel
    Collaborator

    I validate your appveyor.yml
    What is now to do?

  12. dirk-thomas commented on Jul 20, 2016

    @dirk-thomas
    ContributorAuthor

    Please create the appveyor project. Afterwards I can create the PR adding the appveyor configuration file to this repo. For the PR it should then trigger a Windows build and report the status of the tests.

  13. mihaipopescu commented on Jul 22, 2016

    @mihaipopescu
    Collaborator
  14. added
    Engineering
    on Jul 28, 2016
  15. gmaurel commented on Aug 6, 2016

    @gmaurel
    Collaborator

    I already followed your instructions from 2016-07-19.
    Do you miss anything to continue.

  16. jibsen commented on Aug 6, 2016

    @jibsen
    Contributor

    Assuming you're part of the uncrustify organization, when you sign into AppVeyor with GitHub, it will ask which account you want to use. I would think you'd have to sign in with the uncrustify account to be able to set it up for the project in the organization.

    From then on, it's just New Project, find the project under the organization, and click Add, like @dirk-thomas said.

    I don't know if it requires a certain level of access to the organization to be able to set this up, but I would assume so, since AppVeyor needs to put some hooks in.

  17. dirk-thomas commented on Aug 6, 2016

    @dirk-thomas
    ContributorAuthor

    I have just created #615 and AppVeyor is not being triggered. Whenever you have registered the project on AppVeyor you can close and reopen that PR to try retriggering the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Engineering

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions