Fix build command

This commit is contained in:
Arnaud 2025-10-15 07:55:00 +02:00
parent 647cd44639
commit e0c7909fa8
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F
2 changed files with 1 additions and 3 deletions

View File

@ -45,6 +45,4 @@ jobs:
run: make
- name: Go test
env:
CGO_ENABLED: 1
run: make test

View File

@ -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..."