diff options
author | Jakob Unterwurzacher | 2021-07-29 12:12:49 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-07-29 12:36:05 +0200 |
commit | 6f0ed4b8c400cd53ccb42eb83c52ead483646b78 (patch) | |
tree | 7e2e90890b15f09ce675b64bbff6801cdcc629fc /Makefile | |
parent | db81614cd660372c836e8c5b1cf975d0df5dbbd0 (diff) |
github ci: Add Github Actions CI
Add Github Actions and delete defunct Travis CI.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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 |