Skip to content

Commit

Permalink
Merge pull request #39 from isar-community/updading-tests
Browse files Browse the repository at this point in the history
Updating tests and downgrading libmdbx version (same as v4)
  • Loading branch information
vicenterusso authored Mar 30, 2024
2 parents ca398eb + b20aa75 commit 3ea0381
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ jobs:

integration_test_ios:
name: Integration Test iOS
runs-on: macos-latest
runs-on: macos-12
steps:
- uses: actions/checkout@v4
- name: Start simulator
uses: futureware-tech/simulator-action@v2
uses: futureware-tech/simulator-action@v3
with:
model: iPhone 13
- uses: subosito/flutter-action@v2
Expand Down
6 changes: 3 additions & 3 deletions packages/isar_test/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down Expand Up @@ -399,7 +399,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -448,7 +448,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down
4 changes: 2 additions & 2 deletions packages/mdbx_sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ impl ParseCallbacks for Callbacks {
}

const LIBMDBX_REPO: &str = "https://github.com/isar/libmdbx.git";
const LIBMDBX_TAG: &str = "v0.13.0";
const LIBMDBX_TAG: &str = "v0.12.9";

fn main() {
println!("cargo:rerun-if-changed=build.rs");
env::set_var("IPHONEOS_DEPLOYMENT_TARGET", "11.0");
env::set_var("IPHONEOS_DEPLOYMENT_TARGET", "12.0");

let is_android = env::var("CARGO_CFG_TARGET_OS").unwrap() == "android";

Expand Down
2 changes: 1 addition & 1 deletion tool/build_ios.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export IPHONEOS_DEPLOYMENT_TARGET=11.0
export IPHONEOS_DEPLOYMENT_TARGET=12.0

rustup target add aarch64-apple-ios aarch64-apple-ios-sim x86_64-apple-ios
cargo build --target aarch64-apple-ios --release
Expand Down

0 comments on commit 3ea0381

Please sign in to comment.