From 6f0ed4b8c400cd53ccb42eb83c52ead483646b78 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 29 Jul 2021 12:12:49 +0200 Subject: github ci: Add Github Actions CI Add Github Actions and delete defunct Travis CI. --- Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3