-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,22 @@ jobs: | |
echo "C:\Program Files\PostgreSQL\12\bin" >> $GITHUB_PATH | ||
echo "C:\Program Files\PostgreSQL\12\lib" >> $GITHUB_PATH | ||
echo "PQ_LIB_DIR=C:\Program Files\PostgreSQL\12\lib" >> $GITHUB_ENV | ||
- name: Add msbuild to PATH | ||
if: runner.os == 'Windows' && matrix.features == 'bundled' | ||
uses: microsoft/[email protected] | ||
with: | ||
msbuild-architecture: x64 | ||
- name: Windows setup (bundled) | ||
if: runner.os == 'Windows' && matrix.features == 'bundled' | ||
shell: bash | ||
run: | | ||
echo "OPENSSL_RUST_USE_NASM=0" >> $GITHUB_ENV | ||
echo OPENSSL_SRC_PERL=C:/Strawberry/perl/bin/perl >> $GITHUB_ENV | ||
echo "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin" >> $GITHUB_PATH | ||
cd pq-src/source/ | ||
dir "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin" | ||
./src/tools/msvc/build.bat libpq | ||
- name: Install rust toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
|
@@ -70,6 +86,7 @@ jobs: | |
shell: bash | ||
run: | | ||
cargo test --no-default-features --features "${{ matrix.features }}" | ||
- name: Test compile diesel | ||
shell: bash | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "pq-src/source"] | ||
path = pq-src/source | ||
url = https://github.com/postgres/postgres | ||
url = https://github.com/weiznich/postgres |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters