aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-07-29 12:12:49 +0200
committerJakob Unterwurzacher2021-07-29 12:36:05 +0200
commit6f0ed4b8c400cd53ccb42eb83c52ead483646b78 (patch)
tree7e2e90890b15f09ce675b64bbff6801cdcc629fc /.github/workflows/ci.yml
parentdb81614cd660372c836e8c5b1cf975d0df5dbbd0 (diff)
github ci: Add Github Actions CI
Add Github Actions and delete defunct Travis CI.
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..c1b509d
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,33 @@
+name: CI
+
+on:
+ push:
+ pull_request:
+ schedule:
+ - cron: '0 12 * * *' # Every day noon UTC
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+
+ # Looks like Github Actions leaks fds to child processes
+ # https://github.com/actions/runner/issues/1188
+ - run: ls -l /proc/self/fd
+
+ - uses: actions/checkout@v2
+ with:
+ fetch-depth: 0 # Make "git describe" work
+
+ # CI platform specific setup steps happen here
+ - run: sudo apt-get install -qq fuse3 libssl-dev
+
+ # Build & upload static binary
+ - run: ./build-without-openssl.bash
+ - uses: actions/upload-artifact@v2
+ with:
+ name: gocryptfs static binary
+ path: gocryptfs
+
+ # Actual test steps are in the Makefile
+ - run: make ci