Skip to content

Draft: Add continuous integration scripts.#9

Closed
ghost wants to merge 73 commits into
masterfrom
unknown repository
Closed

Draft: Add continuous integration scripts.#9
ghost wants to merge 73 commits into
masterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Mar 16, 2016

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!

xitology added 30 commits May 26, 2006 21:46
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.
xitology and others added 21 commits December 28, 2008 20:46
…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.
@sigmavirus24
Copy link
Copy Markdown
Contributor

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!
Ian

sigmavirus24 pushed a commit to sigmavirus24/libyaml that referenced this pull request Apr 6, 2017
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
sigmavirus24 pushed a commit to sigmavirus24/libyaml that referenced this pull request Apr 6, 2017
Fixes yaml#9
Issues like yaml#224 should fail the build now.
@ingydotnet
Copy link
Copy Markdown
Member

@fracting any movement on this?

@ghost
Copy link
Copy Markdown
Author

ghost commented Jan 8, 2018

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
Feel free to close this one.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants