{"id":30292950,"url":"https://github.com/portableclass/infotecs-sqlite","last_synced_at":"2026-04-10T07:41:14.478Z","repository":{"id":309708291,"uuid":"1036921048","full_name":"portableclass/infotecs-sqlite","owner":"portableclass","description":"SQLite build automation project","archived":false,"fork":false,"pushed_at":"2025-08-13T10:11:18.000Z","size":2244,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-13T12:17:46.387Z","etag":null,"topics":["ansible","cmake","conan","docker","gcc","gitlab-ci","msvc","sqlite","vagrant"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/portableclass.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-12T19:29:28.000Z","updated_at":"2025-08-13T10:16:25.000Z","dependencies_parsed_at":"2025-08-13T12:18:38.233Z","dependency_job_id":"c73142c1-fcc5-4975-937f-2f47cb1f1234","html_url":"https://github.com/portableclass/infotecs-sqlite","commit_stats":null,"previous_names":["portableclass/infotecs-sqlite"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/portableclass/infotecs-sqlite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portableclass%2Finfotecs-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portableclass%2Finfotecs-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portableclass%2Finfotecs-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portableclass%2Finfotecs-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/portableclass","download_url":"https://codeload.github.com/portableclass/infotecs-sqlite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portableclass%2Finfotecs-sqlite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270791692,"owners_count":24645796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","cmake","conan","docker","gcc","gitlab-ci","msvc","sqlite","vagrant"],"created_at":"2025-08-17T01:01:27.010Z","updated_at":"2026-04-10T07:41:09.435Z","avatar_url":"https://github.com/portableclass.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQLite build automation project\n[![pipeline status](https://gitlab.com/portableclass-group/infotecs-sqlite/badges/master/pipeline.svg)](https://gitlab.com/portableclass-group/infotecs-sqlite/pipelines)\n![Docker Pulls](https://img.shields.io/docker/pulls/portableclass/sqlite-builder)\n![Docker Image Size (latest)](https://img.shields.io/docker/image-size/portableclass/sqlite-builder/latest)\n\nThis project implements an automated build pipeline for SQLite library across multiple platforms and environments. It includes solutions for native compilation, containerized builds, virtual machine provisioning, dependency management, and CI/CD integration.\n\n---\n\n## 📦 Building SQLite library for GCC (.so) and MSVC (.dll). Creating Docker Image\n\n### Prerequisites\n- Linux system with GCC\n- Windows system with Visual Studio\n- Docker installed\n\n### Steps\n\n1. **Download SQLite sources**:\n```bash\n   wget https://www.sqlite.org/2018/sqlite-amalgamation-3260000.zip\n   unzip sqlite-amalgamation-3260000.zip -d sqlite-sources\n```\n\n2. **Use my [CMakeLists.txt](https://github.com/portableclass/infotecs-sqlite/blob/master/1_build-sqlite-so/sqlite-sources/CMakeLists.txt)**\n3. **Run build**:\n```bash\n   mkdir build \u0026\u0026 cd build\n   cmake .. \u0026\u0026 make\n```\n4. **Result (.so) should be**:\n```bash\nuser@host:~/sqlite-sources/build$ ls -a\n.  ..  CMakeCache.txt  CMakeFiles  Makefile  cmake_install.cmake  libsqlite3.so\n```\n\n### Follow steps in [readme-get-image-from-dockerfile.md](https://github.com/portableclass/infotecs-sqlite/blob/master/1_build-sqlite-so/readme-get-image-from-dockerfile.md) to create Docker Image\n\n\n\n\n\n\n---\n## 🖥️ Running VM with Vagrant + ansible-playbook for automatic build\n\n### Prerequisites\n- Linux system\n- VirtualBox\n- Vagrant\n- python venv\n- ansible\n\n### Artifacts\n1. [Vagrantfile](https://github.com/portableclass/infotecs-sqlite/blob/master/2_vm-vagrant-ansible/Vagrantfile) - VM configuration\n\n2. [install-docker.yml](https://github.com/portableclass/infotecs-sqlite/blob/master/2_vm-vagrant-ansible/install-docker.yml) - Docker setup playbook\n\n3. [build-sqlite.yml](https://github.com/portableclass/infotecs-sqlite/blob/master/2_vm-vagrant-ansible/build-sqlite.yml) - Build automation playbook\n\n### Run VM\n```bash\nvagrant up\n```\n\n\n---\n## 🛠️ Example of building a project with Conan\n\n### Prerequisites\n- Conan 2.x\n- CMake\n- GCC\n\n### Project structure\n```text\nconan-app/\n├── conanfile.py\n├── CMakeLists.txt\n└── src/\n    └── main.cpp\n```\n\n### Artifacts\n1. Source files ([main.cpp](https://github.com/portableclass/infotecs-sqlite/blob/master/3_conan-example/conan-app/src/main.cpp))\n\n2. Build configuration ([conanfile.py](https://github.com/portableclass/infotecs-sqlite/blob/master/3_conan-example/conan-app/conanfile.py), [CMakeLists.txt](https://github.com/portableclass/infotecs-sqlite/blob/master/3_conan-example/conan-app/CMakeLists.txt))\n\n### Run build\n\n```bash\n   mkdir build \u0026\u0026 cd build\n\n   conan install .. --build=missing \\\n    -s compiler=gcc \\\n    -s compiler.version=12 \\\n    -s compiler.libcxx=libstdc++11\n\n   conan build ..\n```\n### Run app\n```bash\n(python_venv) user@host:~/conan-app/build$ ./Release/hello_conan \n\n(python_venv) user@host:~/conan-app/build$ ./Release/hello_conan --name=Conan\n```\n---\n## 🚀 CI/CD for building SQLite library in GitLab\n\n### Use my GitLab CI configuration ([.gitlab-ci.yml](https://github.com/portableclass/infotecs-sqlite/blob/master/4_gitlab/.gitlab-ci.yml))\n\n## 🔗 Links\n\n1. [Docker Image](https://hub.docker.com/repository/docker/portableclass/sqlite-builder/general)\n\n2. [GitLab Project](https://gitlab.com/portableclass-group/infotecs-sqlite)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fportableclass%2Finfotecs-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fportableclass%2Finfotecs-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fportableclass%2Finfotecs-sqlite/lists"}