Add CI step to build static binaries
This should fail for now because of sqlite dep.
version: 2
jobs:
-
job_01:
machine:
image: ubuntu-1604:201903-01
@@ -51,6 +50,9 @@ jobs:
- run:
name: "Build image"
command: docker build --progress=plain -t notary_client .
+ - run:
+ name: "Build static binaries"
+ command: docker run --rm -e NOTARY_BUILDTAGS --env-file buildscripts/env.list --user notary notary_client bash -c "make static"
- run:
name: "ci"
command: docker run --rm -e NOTARY_BUILDTAGS --env-file buildscripts/env.list --user notary notary_client bash -c "make ci && codecov"
@@ -93,7 +95,6 @@ jobs:
name: "Teardown"
command: docker-compose -f docker-compose.yml down -v && docker-compose -f docker-compose.rethink.yml down -v
-
job_04:
machine:
image: ubuntu-1604:201903-01
