I have a Rust project which links to and uses some native libraries which I’d like to run CI tests for across Linux, OS X and Windows, that I’m running into some issues with on the new Windows environment. To find the native library to link against from the Rust build script I use an environment variable from the user (EMBREE_DIR) to tell Rust where to look for linking. However, this seemed to fail with Rust getting some kind of strange path to the library and not finding it with a mix of forward slashes and escaped backwards slashes, though testing now on my laptop through git bash I can’t reproduce this.
I’m now trying to run the windows build through a powershell script (https://github.com/Twinklebear/embree-rs/blob/ci/travis-windows.ps1 , https://github.com/Twinklebear/embree-rs/blob/ci/.travis.yml ), but when Travis tries to run the script it fails with no error output. The build log can be seen here: https://travis-ci.org/Twinklebear/embree-rs/jobs/493338130 , I have some debug logging in the powershell script which doesn’t seem to get printed so it may not be getting run successfully at all.
Is there anything else I should be doing or fixing to run powershell scripts on the windows environment?