Skip to content

Commit

Permalink
Merge pull request #192 from brotskydotcom/release-3.0.2
Browse files Browse the repository at this point in the history
Release 3.0.2.

This updates the workflows to make sure that we don't miss the iOS target in the CI runs.
  • Loading branch information
brotskydotcom authored Jul 14, 2024
2 parents d0edffb + 959bbb6 commit 70ce2f9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,22 @@ jobs:
# run tests single-threaded to avoid dbus race conditions
run: cargo test --features=${{ matrix.features }} -- --test-threads=1

ios_native:
runs-on: macos-latest

steps:
- name: Fetch head
uses: actions/checkout@v4

- name: Install rust stable
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
target: aarch64-apple-ios

- name: Build iOS library
run: cargo build --target aarch64-apple-ios --features=apple-native --example=iostest

msrv_native:
runs-on: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ keywords = ["password", "credential", "keychain", "keyring", "cross-platform"]
license = "MIT OR Apache-2.0"
name = "keyring"
repository = "https://github.com/hwchen/keyring-rs.git"
version = "3.0.2-rc.1"
version = "3.0.2"
rust-version = "1.75"
edition = "2021"
exclude = [".github/"]
Expand All @@ -29,7 +29,7 @@ vendored = ["dbus-secret-service?/vendored", "openssl?/vendored"]
openssl = { version = "0.10.55", optional = true }

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies] # see issue #190
security-framework = { git = "https://github.com/brotskydotcom/rust-security-framework.git", branch = "fix-issue-206", optional = true }
security-framework = { version = "2", optional = true }

[target.'cfg(target_os = "linux")'.dependencies]
secret-service = { version = "4", optional = true }
Expand Down

0 comments on commit 70ce2f9

Please sign in to comment.