Skip to content

Commit

Permalink
Add Cirrus CI presubmits
Browse files Browse the repository at this point in the history
Configuration is much easier, and we avoid needing internal CI
configuration. Files based on those in go-tpm-tools.
  • Loading branch information
josephlr committed Sep 6, 2019
1 parent b2c8857 commit c4c3fe6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
container:
dockerfile: Dockerfile

env:
GOPROXY: https://proxy.golang.org
GO111MODULE: on

test_task:
modules_cache:
fingerprint_script: cat go.sum
folder: $GOPATH/pkg/mod
build_script: go build -v ./...
test_script: go test -v ./...
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM golang:latest
# We need OpenSSL headers to build the simulator
RUN apt-get update && apt-get install -y libssl-dev

0 comments on commit c4c3fe6

Please sign in to comment.