From 74444ae328b3c399ac5911419990b9891f16cb44 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Sun, 15 Sep 2019 12:19:04 +0200 Subject: [PATCH] ci: split gox step --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e8b471a2..48e39ee4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,9 +22,13 @@ build-shared: &build-shared command: | go test -v ./... - run: - name: Compile project on every platform + name: Get gox + working_directory: "/tmp" command: | go get github.com/mitchellh/gox + - run: + name: Compile project on every platform + command: | gox -parallel 10 -os "linux freebsd" -osarch "darwin/i386 darwin/amd64" - save_cache: key: pkg-cache-{{ checksum "go.sum" }}-v5