Skip to content

Commit

Permalink
build libpq static
Browse files Browse the repository at this point in the history
  • Loading branch information
vnghia committed Jan 22, 2024
1 parent 568a310 commit 9fcad78
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ jobs:
- name: Build and test
run: ${{ matrix.platform.command }} test --locked --target ${{ matrix.platform.target }}

# TODO: setup postgres instance for testing
build-windows:
runs-on: windows-latest

Expand All @@ -74,11 +73,10 @@ jobs:
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
- name: Install libpq
run: vcpkg install libpq[core]:x64-windows-release
run: vcpkg install libpq[core]:x64-windows-release-static
- name: Build and test
run: cargo test --locked --target x86_64-pc-windows-msvc

# TODO: setup postgres instance for testing
build-macos:
runs-on: macos-latest

Expand Down

0 comments on commit 9fcad78

Please sign in to comment.