use clang with cgo to build cli

This commit is contained in:
Jacob Heider 2023-01-04 20:14:58 -05:00 committed by Jacob Heider
parent 8e8158aea2
commit 6091595f34

View file

@ -20,6 +20,8 @@ build:
dependencies: dependencies:
go.dev: ^1.18 go.dev: ^1.18
tea.xyz/gx/make: '*' tea.xyz/gx/make: '*'
linux:
tea.xyz/gx/cc: c99 # for cgo
env: env:
GOPATH: ${{prefix}}/gopath GOPATH: ${{prefix}}/gopath
GOCACHE: ${{prefix}}/gocache GOCACHE: ${{prefix}}/gocache