mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-29 13:41:36 +08:00
Enable buildtime_bindgen tests on windows CI
This commit is contained in:
parent
5be363e4cc
commit
98b3d84fa5
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
@ -50,12 +50,12 @@ jobs:
|
||||
- run: cargo test --features bundled --workspace --all-targets --verbose
|
||||
- run: cargo test --features bundled --workspace --doc --verbose
|
||||
|
||||
- name: Test Features
|
||||
# TODO: clang is installed on these -- but `bindgen` can't find it...
|
||||
if: matrix.os != 'windows-latest'
|
||||
run: |
|
||||
cargo test --features 'bundled-full session buildtime_bindgen' --all-targets --workspace --verbose
|
||||
cargo test --features 'bundled-full session buildtime_bindgen' --doc --workspace --verbose
|
||||
- name: Add llvm path on Windows
|
||||
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' --doc --workspace --verbose
|
||||
|
||||
# TODO: move into own action for better caching
|
||||
- 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' --doc --workspace --verbose
|
||||
|
||||
- name: Test Features
|
||||
if: matrix.os != 'windows-latest'
|
||||
run: |
|
||||
cargo test --features 'bundled-full session buildtime_bindgen' --all-targets --workspace --verbose
|
||||
cargo test --features 'bundled-full session buildtime_bindgen' --doc --workspace --verbose
|
||||
- name: Add llvm path on Windows
|
||||
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' --doc --workspace --verbose
|
||||
|
||||
winsqlite3:
|
||||
name: Test with winsqlite3
|
||||
|
Loading…
Reference in New Issue
Block a user