File tree 4 files changed +678
-641
lines changed
4 files changed +678
-641
lines changed Original file line number Diff line number Diff line change
1
+ name : CMake SQLite3 builtin library
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ name : ${{ matrix.config.name }}
8
+ runs-on : ${{ matrix.config.os }}
9
+ strategy :
10
+ fail-fast : false
11
+ matrix :
12
+ config :
13
+ - {
14
+ name : " Ubuntu Latest GCC" ,
15
+ os : ubuntu-latest,
16
+ generator : " Unix Makefiles" ,
17
+ }
18
+ - {
19
+ name : " macOS Latest Clang" ,
20
+ os : macos-latest,
21
+ generator : " Unix Makefiles" ,
22
+ }
23
+
24
+ steps :
25
+ - name : Checkout ${{ github.ref_name }}
26
+ uses : actions/checkout@v4
27
+ - run : git submodule update --init --recursive
28
+ - run : mkdir build
29
+ - run : cmake -G "Unix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Debug -DSQLITECPP_INTERNAL_SQLITE=OFF -DSQLITE_OMIT_LOAD_EXTENSION=ON -DSQLITECPP_BUILD_TESTS=ON -DSQLITECPP_BUILD_EXAMPLES=ON -DSQLITECPP_RUN_CPPCHECK=OFF -DSQLITECPP_RUN_CPPLINT=OFF ..
30
+ working-directory : build
31
+ - run : cmake --build build --config Debug
32
+ - run : ctest --verbose --output-on-failure --test-dir build
Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ if (SQLITECPP_INCLUDE_SCRIPT)
190
190
.gitbugtraq
191
191
.github/dependabot.yml
192
192
.github/workflows/cmake.yml
193
+ .github/workflows/cmake_builtin_lib.yml
193
194
.github/workflows/cmake_subdir_example.yml
194
195
.github/workflows/meson.yml
195
196
.gitignore
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ int main()
87
87
{
88
88
// Using SQLITE_VERSION would require #include <sqlite3.h> which we want to avoid: use SQLite::VERSION if possible.
89
89
// std::cout << "SQlite3 version " << SQLITE_VERSION << std::endl;
90
- std::cout << " SQlite3 version " << SQLite::VERSION << " (" << SQLite::getLibVersion () << " )" << std::endl;
90
+ std::cout << " SQlite3 compile time header version " << SQLite::VERSION << " (vs dynamic lib version " << SQLite::getLibVersion () << " )" << std::endl;
91
91
std::cout << " SQliteC++ version " << SQLITECPP_VERSION << std::endl;
92
92
93
93
// //////////////////////////////////////////////////////////////////////////
You can’t perform that action at this time.
0 commit comments