make sure CGO is enabled for all builds, required by sqlite.

pull/104/head
Jason Kulatunga 4 years ago
parent de3269409f
commit bdbb7d0e1b

@ -9,6 +9,7 @@ jobs:
container: golang:1.13 container: golang:1.13
env: env:
PROJECT_PATH: /go/src/github.com/analogj/scrutiny PROJECT_PATH: /go/src/github.com/analogj/scrutiny
CGO_ENABLED: 1
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -27,7 +28,6 @@ jobs:
env: env:
GOOS: linux GOOS: linux
GOARCH: amd64 GOARCH: amd64
CGO_ENABLED: 1
run: | run: |
apt-get update && apt-get install -y file apt-get update && apt-get install -y file

@ -19,6 +19,7 @@ jobs:
container: golang:1.13 container: golang:1.13
env: env:
PROJECT_PATH: /go/src/github.com/analogj/scrutiny PROJECT_PATH: /go/src/github.com/analogj/scrutiny
CGO_ENABLED: 1
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2

Loading…
Cancel
Save