mirror of https://github.com/buster-so/buster.git
ok libpq error
This commit is contained in:
parent
3410475c2d
commit
8d28993bb4
|
@ -26,21 +26,29 @@ jobs:
|
||||||
artifact_name: buster-cli-linux-x86_64.tar.gz
|
artifact_name: buster-cli-linux-x86_64.tar.gz
|
||||||
use_tar: true
|
use_tar: true
|
||||||
binary_name: buster-cli
|
binary_name: buster-cli
|
||||||
|
rust_flags: ""
|
||||||
|
pkg_config_path: ""
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
artifact_name: buster-cli-darwin-x86_64.tar.gz
|
artifact_name: buster-cli-darwin-x86_64.tar.gz
|
||||||
use_tar: true
|
use_tar: true
|
||||||
binary_name: buster-cli
|
binary_name: buster-cli
|
||||||
|
rust_flags: "-L/usr/local/opt/libpq/lib"
|
||||||
|
pkg_config_path: "/usr/local/opt/libpq/lib/pkgconfig"
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
artifact_name: buster-cli-darwin-arm64.tar.gz
|
artifact_name: buster-cli-darwin-arm64.tar.gz
|
||||||
use_tar: true
|
use_tar: true
|
||||||
binary_name: buster-cli
|
binary_name: buster-cli
|
||||||
|
rust_flags: "-L/opt/homebrew/opt/libpq/lib"
|
||||||
|
pkg_config_path: "/opt/homebrew/opt/libpq/lib/pkgconfig"
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-pc-windows-msvc
|
||||||
artifact_name: buster-cli-windows-x86_64.zip
|
artifact_name: buster-cli-windows-x86_64.zip
|
||||||
use_tar: false
|
use_tar: false
|
||||||
binary_name: buster-cli.exe
|
binary_name: buster-cli.exe
|
||||||
|
rust_flags: ""
|
||||||
|
pkg_config_path: ""
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -75,6 +83,9 @@ jobs:
|
||||||
- name: Build optimized release
|
- name: Build optimized release
|
||||||
# Builds the buster-cli package from cli/cli/Cargo.toml
|
# Builds the buster-cli package from cli/cli/Cargo.toml
|
||||||
working-directory: ./cli
|
working-directory: ./cli
|
||||||
|
env:
|
||||||
|
RUSTFLAGS: ${{ matrix.rust_flags }}
|
||||||
|
PKG_CONFIG_PATH: ${{ matrix.pkg_config_path }}
|
||||||
run: cargo build --release --target ${{ matrix.target }} --manifest-path ./cli/Cargo.toml
|
run: cargo build --release --target ${{ matrix.target }} --manifest-path ./cli/Cargo.toml
|
||||||
|
|
||||||
- name: Compress binary (Unix)
|
- name: Compress binary (Unix)
|
||||||
|
|
Loading…
Reference in New Issue