Draft: Add continuous integration scripts.#9
Conversation
Add basic reader fields to the parser structure. Start implementing basic parser functions.
Reader is mostly done (though untested).
Add YAML_DECLARE to the API declarations (Thanks to Peter Murphy for suggestion).
Add a basic description of all tokens produced by the scanner.
… should (Thanks Anders Kaseorg).
…ith the previous one.
…ple key (#150, thank to spitzak(at)rhythm(dot)com).
…potential simple key (#156, thank to ppelletier(at)oblong(dot)com).
https://bitbucket.org/xi/libyaml/issue/10/wrapped-strings-cause-assert-failure Commenting out the assert makes the scanner do the right thing and results in just a simple parse failure.
|
Hi @fracting! Tea CI looks very cool. I'm familiar with Drone CI and this looks like an excellent fork. Since you sent this PR, @ingydotnet reimported the history from https://bitbucket.org/xi/libyaml and we've started using Travis CI, Semaphore CI, and AppVeyor for various variations on operating systems and testing. However, on AppVeyor we're only really using CygWin and Visual Studio in testing. If you want to rebase your pull request (or just submit a new one) adding support for Tea CI + MSYS2, I would be happy to accept it and merge it. I'd also appreciate instructions on how to integrate Tea CI into our pull request process if you have docs on that. Thanks! |
I'm finding that with e.g. python infra/helper.py build_fuzzers libpng all builds fail for me with... configure:3443: checking whether we are cross compiling configure:3451: clang -o conftest -g -fsanitize=address -fsanitize-coverage=edge,indirect-calls,8bit-counters conftest.c >&5 configure:3455: $? = 0 configure:3462: ./conftest ==1014==LeakSanitizer has encountered a fatal error. ==1014==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1 ==1014==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc) configure:3466: $? = 1 configure:3473: error: in `/src/libpng': configure:3475: error: cannot run C compiled programs. with the defaults of... CC=clang CXX=clang++ CFLAGS=-g -fsanitize=address -fsanitize-coverage=edge,indirect-calls,8bit-counters CXXFLAGS=-g -fsanitize=address -fsanitize-coverage=edge,indirect-calls,8bit-counters -stdlib=libc++ but adding --cap-add SYS_PTRACE makes it work
|
@fracting any movement on this? |
|
Hi, sorry I moved to a new country, started new work and life, and lost track to many old tasks... I created a new pull request: #92 |
Hi folks,
I'm the creator of Tea CI and a contributor of MSYS2 project.
Tea CI is a fork of continuous integration server called Drone CI with additional support for Win32 application using Wine.
It has been used by Msys2 project for some time, examples here:
https://tea-ci.org/Alexpux/MINGW-packages
Yaml is used by the Msys2 project, so it is important for us to make sure latest Yaml always works with latest Msys2.
I created a set of CI build scripts for yaml project. With the matrix feature of CI server, we could build yaml for two platforms: Ubuntu Linux 64 bit, Msys2 32bit, however, MinGW-w64 build failed, I'm not sure if it is interesting to anyone, if true we can investigate more.
Build succeeded and test passed here: https://tea-ci.org/fracting/libyaml/5/2
The goal is to enable all test suites on all platforms, so once there is something broken, we can compare results from different platforms. I found there is already .travis.yml in libyaml repo, we can remove the Linux build from .drone.yml if you like ;) Travis CI does not support Windows or Wine yet, other wise it would be easier for us, but anyway that is why we created Tea CI to support Wine :D
I hope this script could be useful for yaml team, and once it is accepted, it would benefit the Wine project and the MSYS2 project as well.
Could you consider the proposal, and maybe register tea-ci.org using your github account?
Once this is accepted, we can add more features, like, irc notifications, nightly build binaries automatic upload, etc.
Looking forward to your comments, thanks!