Skip to content

Commit

Permalink
Fix pkg config path
Browse files Browse the repository at this point in the history
  • Loading branch information
mliezun committed Dec 24, 2024
1 parent 2637673 commit acd9e85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
run: |
cd repo
export PKG_CONFIG_PATH=/opt/_internal/cpython-${{ matrix.python-version }}.*/lib/pkgconfig/
echo $PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$(echo $PKG_CONFIG_PATH | awk '{gsub(" ",ORS)} 1')
pkg-config --libs python3-embed
export PATH=$PATH:/usr/local/go/bin
go test -race -v ./...
Expand All @@ -69,6 +69,7 @@
cd repo
cd cmd/cli
export PKG_CONFIG_PATH=/opt/_internal/cpython-${{ matrix.python-version }}.*/lib/pkgconfig/
export PKG_CONFIG_PATH=$(echo $PKG_CONFIG_PATH | awk '{gsub(" ",ORS)} 1')
CGO_ENABLED=1 go build -o caddysnake-cli main.go
touch dummy.c
python -m pip install cibuildwheel
Expand Down

0 comments on commit acd9e85

Please sign in to comment.