diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eefd237..4179829 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,6 +45,4 @@ jobs: run: make - name: Go test - env: - CGO_ENABLED: 1 run: make test diff --git a/Makefile b/Makefile index a13aab4..2f1f378 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ libcodex: build: @echo "Building Codex Go Bindings..." - CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o codex-go main.go + CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o codex-go ./codex test: @echo "Running tests..."