Enable buildtime_bindgen tests on windows CI

This commit is contained in:
trevyn 2022-01-06 12:45:59 +03:00 committed by Thom Chiovoloni
parent 5be363e4cc
commit 98b3d84fa5

View File

@ -50,12 +50,12 @@ jobs:
- run: cargo test --features bundled --workspace --all-targets --verbose - run: cargo test --features bundled --workspace --all-targets --verbose
- run: cargo test --features bundled --workspace --doc --verbose - run: cargo test --features bundled --workspace --doc --verbose
- name: Test Features - name: Add llvm path on Windows
# TODO: clang is installed on these -- but `bindgen` can't find it... if: matrix.os == 'windows-latest'
if: matrix.os != 'windows-latest' run: echo "C:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
run: |
cargo test --features 'bundled-full session buildtime_bindgen' --all-targets --workspace --verbose - run: cargo test --features 'bundled-full session buildtime_bindgen' --all-targets --workspace --verbose
cargo test --features 'bundled-full session buildtime_bindgen' --doc --workspace --verbose - run: cargo test --features 'bundled-full session buildtime_bindgen' --doc --workspace --verbose
# TODO: move into own action for better caching # TODO: move into own action for better caching
- name: Static build - name: Static build
@ -97,11 +97,12 @@ jobs:
- run: cargo test --features 'modern-full bundled-sqlcipher-vendored-openssl' --all-targets --workspace --verbose - run: cargo test --features 'modern-full bundled-sqlcipher-vendored-openssl' --all-targets --workspace --verbose
- run: cargo test --features 'modern-full bundled-sqlcipher-vendored-openssl' --doc --workspace --verbose - run: cargo test --features 'modern-full bundled-sqlcipher-vendored-openssl' --doc --workspace --verbose
- name: Test Features - name: Add llvm path on Windows
if: matrix.os != 'windows-latest' if: matrix.os == 'windows-latest'
run: | run: echo "C:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
cargo test --features 'bundled-full session buildtime_bindgen' --all-targets --workspace --verbose
cargo test --features 'bundled-full session buildtime_bindgen' --doc --workspace --verbose - run: cargo test --features 'bundled-full session buildtime_bindgen' --all-targets --workspace --verbose
- run: cargo test --features 'bundled-full session buildtime_bindgen' --doc --workspace --verbose
winsqlite3: winsqlite3:
name: Test with winsqlite3 name: Test with winsqlite3