telegram-client icon indicating copy to clipboard operation
telegram-client copied to clipboard

Full travis builds

Open 0xpr03 opened this issue 6 years ago • 7 comments

We're currently not running any real builds on this. Having full builds would allow for direct identification of errors. I guess this is mainly due to the problematic tdlib dependency. For starters we could host a tdlib.so somewhere (for example git) that travis can download. I could also host a tdlib on my own. If we also enable caching it would reduce build times drastically when rtdlib isn't changed.

0xpr03 avatar Aug 16 '19 17:08 0xpr03

Yes , you are right, I already created a repository tdlib-dylib , The function of this repository is to compile td, and upload libtdjson.so to this repository, build branch is compile code, and master branch is save so file.

But I have encountered some problems

ls: /source/build/libtdjson*: No such file or directory

I don't know why travis CI can't to copy file , but actually there is, I found some solution, but not work. so tdlib-dylib was suspended by me. wait unit telegrem-client is stable again.

Maybe you can help me. In my plan, I should compile the dynamic dependency library of all systems. and all version of td release page.

And now i trying to make rtdlib compile faster, expecting good results.

fewensa avatar Aug 17 '19 03:08 fewensa

good, i trying build libtdjson, thank

tingfeng-key avatar Oct 17 '19 03:10 tingfeng-key

I could try to help as well - it'd be a challenge but that would be good for me :)

I'm a bit lost though with all the projects - what's the difference/relation between

https://github.com/fewensa/telegram-client https://github.com/fewensa/rtdlib-sys https://github.com/fewensa/tdlib-dylib https://github.com/fewensa/fantasy

dorak88783 avatar Feb 07 '21 19:02 dorak88783

I made a repository https://github.com/dorak88783/tdlib-builder which has automatic pre-compiled binaries available. You could use those in the CI flow.

dorak88783 avatar Feb 09 '21 13:02 dorak88783

Hi @dorak88783 very thanks for you , I think it can be expanded in your repository.

fewensa avatar Feb 14 '21 06:02 fewensa

@dorak88783 Your project can support the tdjson.lib of all different versions of different systems? in your plain

fewensa avatar Feb 15 '21 08:02 fewensa

I didn't try yet to build old versions. At least for 1.7 onwards they'll be there, so maybe just add only these tests on the 1.7 and higher versions?

dorak88783 avatar Feb 16 '21 16:02 dorak88783