diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..2d4a5a2 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,17 @@ +name: C/C++ CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: make + run: sudo apt-get update && sudo apt-get install -y libudev-dev libfuse-dev + - name: make + run: make diff --git a/README.md b/README.md index 5064b3a..6716e4c 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ This version of pcloudcc is independently maintained by me, whose only affiliati [Boost](http://www.boost.org/) Boost system and boost program options libraries used. [Pthread](http://www.gnu.org/) [Fuse](https://github.com/libfuse/libfuse) Filesystem in Userspace. +libsqlite3. lightweight SQL database. ## Build steps diff --git a/lib/pclsync/Makefile b/lib/pclsync/Makefile index edc7d2b..cbdbf55 100644 --- a/lib/pclsync/Makefile +++ b/lib/pclsync/Makefile @@ -4,7 +4,7 @@ RANLIB=ranlib #USESSL=openssl USESSL=mbed -CFLAGS=-Werror -O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -I../sqlite -fPIC +CFLAGS=-Werror -O2 -g -fno-stack-protector -fomit-frame-pointer -I../sqlite -fPIC LIB_A=psynclib.a UNAME_S := $(shell uname -s) diff --git a/lib/poverlay_linux/Makefile b/lib/poverlay_linux/Makefile index 4df67cd..518046e 100644 --- a/lib/poverlay_linux/Makefile +++ b/lib/poverlay_linux/Makefile @@ -1,9 +1,8 @@ CC=cc -#USESSL=openssl USESSL=mbed -#CFLAGS=-Wall -Wpointer-arith -O2 -g -fsanitize=address -mtune=core2 -CFLAGS=-Wall -Wpointer-arith -O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -DPCLOUD_TESTING +CFLAGS=-Wall -Wpointer-arith -O2 -g -fsanitize=address +#CFLAGS=-Wall -Wpointer-arith -O2 -g -fno-stack-protector -fomit-frame-pointer -DPCLOUD_TESTING UNAME_S := $(shell uname -s) UNAME_V := $(shell uname -v)