aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-07-29 12:12:49 +0200
committerJakob Unterwurzacher2021-07-29 12:36:05 +0200
commit6f0ed4b8c400cd53ccb42eb83c52ead483646b78 (patch)
tree7e2e90890b15f09ce675b64bbff6801cdcc629fc /Makefile
parentdb81614cd660372c836e8c5b1cf975d0df5dbbd0 (diff)
github ci: Add Github Actions CI
Add Github Actions and delete defunct Travis CI.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bdc05cf..8720678 100644
--- a/Makefile
+++ b/Makefile
@@ -23,3 +23,25 @@ install:
install -Dm644 -t "$(DESTDIR)/usr/share/man/man1/" Documentation/gocryptfs.1
install -Dm644 -t "$(DESTDIR)/usr/share/man/man1/" Documentation/gocryptfs-xray.1
install -Dm644 -t "$(DESTDIR)/usr/share/licenses/gocryptfs" LICENSE
+
+.phony: ci
+ci:
+ uname -a ; go version ; openssl version
+ df -Th / /tmp /var/tmp
+
+ ./build-without-openssl.bash
+ ./build.bash
+ ./test.bash
+ make root_test
+ ./crossbuild.bash
+
+ echo "Rebuild with locked dependencies"
+ # Download dependencies to "vendor" directory
+ go mod vendor
+ # Delete global cache
+ go clean -modcache
+ # GOPROXY=off makes sure we fail instead of making network requests
+ # (we should not need any!)
+ GOPROXY=off ./build.bash -mod=vendor
+ # Delete "vendor" dir
+ git clean -dxff