Skip to content
This repository was archived by the owner on Jun 11, 2021. It is now read-only.

Commit b92cb6d

Browse files
committed
Get UPX working
1 parent a4d677d commit b92cb6d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.circleci/config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ aliases:
44
command: |
55
go get -u github.com/golang/dep/cmd/dep
66
dep ensure
7+
- &get_upx
8+
name: get_upx
9+
command: |
10+
mkdir -p $GOPATH/bin \
11+
&& wget -q https://github.com/barnybug/cli53/releases/download/0.6.0/upx -O $GOPATH/bin/upx \
12+
&& chmod +x $GOPATH/bin/upx
713
defaults: &defaults
814
working_directory: /go/src/github.com/devopsmakers/xterrafile
915
docker:
@@ -26,7 +32,7 @@ jobs:
2632
steps:
2733
- checkout
2834
- run: *dep_ensure
29-
- run: sudo apt-get install -y upx && sudo apt-get clean
35+
- run: *get_upx
3036
- run: curl -sL https://git.io/goreleaser | bash
3137
workflows:
3238
version: 2

0 commit comments

Comments
 (0)