From ee4a770efb6d97af48fd180f9955769a22d11ebf Mon Sep 17 00:00:00 2001 From: Thom Chiovoloni Date: Sun, 4 Oct 2020 13:19:14 -0700 Subject: [PATCH] Test winsqlite3 and sqlcipher in CI --- .github/workflows/main.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0ba1c81..38c28c9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,6 +54,29 @@ jobs: RUSTFLAGS: -Ctarget-feature=+crt-static run: cargo build --features bundled + winsqlite3: + name: Test with winsqlite3 + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - uses: hecrj/setup-rust-action@v1 + # TODO: Should this test GNU toolchain? What about +crt-static? + # TODO: Is it worth testing other features? + - run: cargo build --features winsqlite3 --workspace --all-targets --verbose + - run: cargo test --features winsqlite3 --workspace --all-targets --verbose + + sqlcipher: + name: Test with sqlcipher + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: hecrj/setup-rust-action@v1 + - run: sudo apt-get install sqlcipher libsqlcipher-dev + - run: sqlcipher --version + # TODO: Is it worth testing other features? + - run: cargo build --features sqlcipher --workspace --all-targets --verbose + - run: cargo test --features sqlcipher --workspace --all-targets --verbose + sanitizer: name: Address Sanitizer runs-on: ubuntu-latest