Skip to content

Commit 18b22b5

Browse files
committed
Fix build, we need to use cgo for portaudio
1 parent 4461245 commit 18b22b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
[ -z "${CIRCLE_TAG}" ] && exit 0
7373
7474
go get github.com/tcnksm/ghr
75-
CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o bin/controller_linux_amd64 .
75+
go build -o bin/controller .
7676
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} ./bin
7777
7878
workflows:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ WORKDIR /go/src/github.com/StageAutoControl/controller/
1616
COPY --from=dependencies /go/src/github.com/StageAutoControl/controller/vendor vendor
1717

1818
COPY . ./
19-
RUN CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o bin/controller .
19+
RUN go build -o bin/controller .
2020

2121
FROM ubuntu
2222

0 commit comments

Comments
 (0)