requery / sqlite-android

Android SQLite support library
Apache License 2.0
1.06k stars 140 forks source link

ci: Enable GitHub Actions #163

Closed ebraminio closed 2 years ago

ebraminio commented 2 years ago

Apparently Travis CI is stopped so let's add a GitHub Actions based CI to the project.

Not sure however why it doesn't build the sqlite.c https://github.com/ebraminio/sqlite-android/runs/7242396247?check_suite_focus=true#step:4:330 so maybe it can be considered as a starting point.

npurushe commented 2 years ago

thanks for starting this! even if its not currently building it could be merged as a starting point but I'll also check if there is a easy way to solve the build failure you encountered

ebraminio commented 2 years ago

thanks for starting this! even if its not currently building it could be merged as a starting point but I'll also check if there is a easy way to solve the build failure you encountered

I think so also it can be merged, it is very interesting that it builds .cpp files but not sqilte's .c amalgamation, locally I use macOS just as the bot and have not this issue. I was suspecting it silently fails on downloading amalgamation zip file but turned out that's isn't the case.

Update: Tested some other tricks to make it with not much luck :/

npurushe commented 2 years ago

thanks its still a good starting point. I'll experiment with some other changes to see if they work.