Skip to content
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

Add Windows support for Travis CI #784

Open
wants to merge 4 commits into
base: master
from
Open

Conversation

@mckunda
Copy link

mckunda commented Mar 17, 2020

DO NOT MERGE UNTIL SECURITY PROBLEMS ARE RESOLVED!

Fixes #734

This PR is an attempt to provide Windows builds as proposed at #734

Prerequisites:

Build:

refreshenv
cmake . -B build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -G "Unix Makefiles"
cmake --build build --target jsonnetfmt
cmake --build build --target jsonnet
cmake --build build --target run_tests

.travis.yml is modified so that archives with executables can be found at directory upload

Problems:

  • -pedantic leads to compiler errors since MSVC libraries use language extensions
  • -std=c++11 leads to compiler errors
  • unable to run setup.py
  • unable to run regression tests (CMake target run_tests, filetest_suite/run_tests.sh)
  • Secrets ARE NOT obfuscated in Travis Windows builds (means this PR is unable to merge)

Any support is appreciated.

mckunda added 4 commits Mar 17, 2020
@googlebot googlebot added the cla: yes label Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.