Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
849c61b
fix(minor): sqlitecloud to sqliteai
Gioee May 16, 2025
71d4b8a
update gitignore
Gioee May 16, 2025
f1e70e9
makefile refactor
Gioee May 16, 2025
f66c38e
update build workflow, with test and release of sqlite-sync
Gioee May 16, 2025
c9fa42b
fix(windows): choco not in msys2 path
Gioee May 16, 2025
b7c35cd
fix(linux): missing uuid
Gioee May 16, 2025
2c8ae2d
fix(linux): curl linking after other objects
Gioee May 16, 2025
a66125c
new curl.h include path
Gioee May 16, 2025
98f0a52
curl library name from libARCH.a to libcurl.a
Gioee May 16, 2025
9c7363c
fix(linux): link curl static lib
Gioee May 16, 2025
8a029e2
feat(apple): add fatlib curl
Gioee May 19, 2025
0cf75d9
gitignore add static libs
Gioee May 19, 2025
61cdbbd
fix(curl): include and link path
Gioee May 19, 2025
0aaf101
always upload artifacts to debug them
Gioee May 19, 2025
e906c1a
fix(apple): missing multiarch args in linker flags
Gioee May 19, 2025
f127f3c
rm macos specific libcurl.a
Gioee May 19, 2025
d55a3a4
test(linux): re-install sqlite3
Gioee May 19, 2025
c091f65
add ssl and crypto link
Gioee May 19, 2025
44e39ca
linking ssl and crypto only in android and linux
Gioee May 19, 2025
eb487cc
fix(apple): add link to secure transport
Gioee May 19, 2025
00b7dfe
fix(android): wrong boringssl build arch
Gioee May 19, 2025
9e9bef8
fix(windows): winsock instead of inet
Gioee May 19, 2025
8a39dcb
bzero is obsolete and not part of the C standard, making it unavailab…
Gioee May 19, 2025
a6ebf30
clean(linux): rm sqlite3 install
Gioee May 19, 2025
b8e5b0c
fix(windows): non existing htonll
Gioee May 19, 2025
f083346
windows force bash shell when msys2 is not necessary
Gioee May 19, 2025
4425dc5
windows missing import for STATUS_SUCCESS
Gioee May 19, 2025
ab9f8fd
windows missing O_WRONLY headers
Gioee May 19, 2025
e5b6ea6
fix(windows): def file exports
Gioee May 20, 2025
95fe177
windows debug curl build
Gioee May 20, 2025
61b2f92
windows debug curl build list winbuild
Gioee May 20, 2025
95c8c76
windows force curl static lib in the cflags
Gioee May 20, 2025
5e7d4fd
windows missing link against crypt and secur
Gioee May 20, 2025
5ffb191
windows missing winsock and bcrypt linker flags in the test executable
Gioee May 20, 2025
3b5b888
windows test executable linking linker flags after object files
Gioee May 20, 2025
0202ddb
fix(apple): do not use sys/random
Gioee May 20, 2025
459d1df
clean build curl workflow
Gioee May 20, 2025
8977709
remove uuid.h
Gioee May 20, 2025
a8b2d03
android include sys/random
Gioee May 20, 2025
ab65ab5
fix(linux): remove uuid-dev install from workflow
Gioee May 20, 2025
c2526cf
ios missing CoreFoundation framework link
Gioee May 20, 2025
a505c99
fix(apple): SecRandomCopyBytes instead of arc4random_buf
Gioee May 20, 2025
196a7ed
fix(apple): missing framework security link in test flags
Gioee May 20, 2025
549c3bf
fix(android): random and time
Gioee May 20, 2025
131d6b6
clean(ios): remove useless arm64 spec
Gioee May 20, 2025
94b12a1
fix(android): check for __ANDROID__ macro instead of __linux__ macro
Gioee May 20, 2025
aada1a3
fix typo
Gioee May 20, 2025
8f78357
fix(test): return n failed test
Gioee May 20, 2025
e916765
android emulator read only test
Gioee May 20, 2025
6aa115a
enable test coverage
Gioee May 21, 2025
8538f5c
android emu test save up space
Gioee May 21, 2025
cc0722c
install lcov for coverage
Gioee May 21, 2025
b51d9b3
run test coverage only on macos
Gioee May 21, 2025
6b606e1
android log file sizes
Gioee May 21, 2025
10bf69b
fix(android): workflow remove boringssl build files
Gioee May 21, 2025
c8e8088
add deploy to github pages
Gioee May 21, 2025
8ee54f9
android -fno-exceptions
Gioee May 21, 2025
a919c57
android rm useless flags
Gioee May 21, 2025
de9d94d
android link crypto
Gioee May 21, 2025
f579d28
android missing ssl flag
Gioee May 21, 2025
4b4e9fe
android link c++
Gioee May 21, 2025
dbcd6b8
android clean up
Gioee May 21, 2025
c518d2b
android test boringssl and curl without c++
Gioee May 21, 2025
7baa53a
android compile with clang++
Gioee May 21, 2025
b78815b
temp remove cc filter
Gioee May 21, 2025
6d6f376
android back to the ndk clang compiler
Gioee May 21, 2025
ec2def5
android emu push libc
Gioee May 21, 2025
e2f2162
test deploy coverage to gh pages
Gioee May 21, 2025
61c57f7
android fix libc path
Gioee May 21, 2025
3872dfe
force static build boringssl
Gioee May 21, 2025
b547b00
other force static lib flags
Gioee May 21, 2025
93be800
libc++ instead of libstdc++
Gioee May 21, 2025
df61b98
boringssl build not cxx flags
Gioee May 21, 2025
46e3bec
android openssl instead of boringssl for tls backend
Gioee May 21, 2025
826d91f
conditional cov flags
Gioee May 21, 2025
7bc3b04
link gcov only on linux and windows and clean workflow
Gioee May 21, 2025
df4575a
ghpages rm environment
Gioee May 21, 2025
04f6b05
android build openssl specify target
Gioee May 21, 2025
0d04ce4
android emu print free space
Gioee May 21, 2025
7879bcc
android build openssl with install_sw
Gioee May 21, 2025
0184beb
android not able to write in home
Gioee May 21, 2025
d3c3268
html coverage folder to src
Gioee May 21, 2025
046523a
cleanup
Gioee May 21, 2025
6ef55c9
rm coverage.info
Gioee May 21, 2025
4ee18c8
fix(workflow): use deploy-pages@v3
Gioee May 21, 2025
7506a26
fix(makefile): separate test cflags and test ldflags
Gioee May 21, 2025
30688a1
fix(unit): unused result
Gioee May 21, 2025
a1b4d9d
fix typo
Gioee May 21, 2025
19d3b13
fix test flags
Gioee May 21, 2025
76c58f9
deploy-pages missing gh token
Gioee May 21, 2025
b937272
Merge branch 'main' into update-build-pipeline
Gioee May 21, 2025
7e481a0
fix merge conflict
Gioee May 21, 2025
116d058
github pages test src folder
Gioee May 21, 2025
030c54a
deploy to github pages in the same job as upload artifact
Gioee May 21, 2025
d9c8132
deploy coverage in separate job
Gioee May 21, 2025
ca8b04a
default deploy gh pages artifact name
Gioee May 21, 2025
d952e8e
revert deploy pages action version
Gioee May 21, 2025
03a5a04
rm unused subdir
Gioee May 21, 2025
fcfc040
replace upload pages artifact action
Gioee May 21, 2025
365e5aa
remove separate deploy coverage job
Gioee May 21, 2025
b1fa49f
Merge branch 'main' into update-build-pipeline
Gioee May 21, 2025
f021dc6
coverage badge
Gioee May 21, 2025
2837a9a
tofix merge conflict
Gioee May 21, 2025
58db5d0
final workflow
Gioee May 21, 2025
1f78c53
fix cloudsync_payload_apply from main branch
Gioee May 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add ssl and crypto link
  • Loading branch information
Gioee committed May 19, 2025
commit c091f658ad4d8f5846199b86a585c71283c354a6
2 changes: 1 addition & 1 deletion Makefile

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since object files need to be built with different flags now makefile builds loadable extension object files inside build/release and unit test object files in build/test, they're then linked in the dist folder.

I've also changed variables names to easily understand them. In make test now coverage is an option, it's not always on.

Added windows def file gen and help message.

All object files are now built by the same pattern rule (the only exception is sqlite which uses different cflags)

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CC = gcc
CFLAGS = -Wall -Wextra -Wno-unused-parameter -I$(SRC_DIR) -I$(SQLITE_DIR) -I$(CURL_DIR)/include
TEST_FLAGS = $(CFLAGS) -DSQLITE_CORE -DCLOUDSYNC_UNITTEST -DCLOUDSYNC_OMIT_NETWORK -DCLOUDSYNC_OMIT_PRINT_RESULT -fprofile-arcs -ftest-coverage
EXTENSION_FLAGS = $(CFLAGS) -O3 -fPIC
LDFLAGS = -L./$(CURL_DIR)/$(PLATFORM) -lcurl
LDFLAGS = -L./$(CURL_DIR)/$(PLATFORM) -lcurl -lssl -lcrypto
COVERAGE = false

# Directories
Expand Down