-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
Perl MapScript not built as part of CI #5777
Comments
|
Can CI run: I'd like to put the tests into Is this direction ok? |
|
There are currently 2 approaches for the different MapScript bindings:
Then call this custom target https://github.com/mapserver/mapserver/blob/branch-7-4/.travis.yml#L69
The advantage of this approach is that the test can be more easily called and run across platforms (Windows and Linux).
https://github.com/mapserver/mapserver/blob/branch-7-4/mapscript/csharp/run_test.sh https://github.com/mapserver/mapserver/blob/branch-7-4/Makefile#L50 If you create a pull request with whichever approach is easiest for you it will trigger the Travis build and you can see the output. Just on the code changes, watch out for IDEs autoformatting code and adding spaces/new lines as it makes it harder to see the code changes. Also rename /t to /tests? Hope this makes things clearer, and not more complicated! |
|
Closed with #5778 |
Currently Perl MapScript is not built as part of Continuous Integration on either Travis (Linux) or Appveyor (Windows).
To add to Travis will require Perl dependencies (libperl-dev?) to be installed in .travis.yml (see https://github.com/mapserver/mapserver/blob/branch-7-4/.travis.yml#L55)
DWITH_PERL=1 will need to be added to the CMAKE FLAGS at https://github.com/mapserver/mapserver/blob/branch-7-4/Makefile#L9
Finally it would be good to run the Perl MapScript examples in the MakeFile or as part of perl/CMakeLists.txt/ to ensure nothing breaks with code changes.
The text was updated successfully, but these errors were encountered: