make sure CGO is enabled for all builds, required by sqlite.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user