librclone: add tests for build and execute them in the actions #4891

This commit is contained in:
Nick Craig-Wood
2021-04-28 16:55:08 +01:00
parent f38c262471
commit 62bf63d36f
4 changed files with 74 additions and 8 deletions
+3
View File
@@ -10,5 +10,8 @@ ctest.o: ctest.c librclone.h
librclone.a librclone.h:
go build --buildmode=c-archive -o librclone.a github.com/rclone/rclone/librclone
test: ctest
./ctest
clean:
rm -f tmp ctest *.o *.a *.h *.gch