Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,36 @@ jobs:
components: clippy
- run: cargo clippy -- -D warnings

android-build:
name: Build (Android)
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Set up Android SDK
uses: android-actions/setup-android@v3
with:
packages: 'platforms;android-30'
accept-android-sdk-licenses: true

- name: Install android target & cargo-apk
run: |
rustup target add aarch64-linux-android
cargo install cargo-apk
- name: Rust cache
uses: Swatinem/rust-cache@v2

- name: Run Tests
run: cargo apk build

linux-test:
name: Test (Linux)
uses: ./.github/workflows/build-and-test.yml
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = "A multiplatform nostr client"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
crate-type = ["lib", "cdylib"]
crate-type = ["lib"]

[workspace.dependencies]
egui = { git = "https://github.com/emilk/egui", rev = "fcb7764e48ce00f8f8e58da10f937410d65b0bfb", features = ["serde"] }
Expand Down
Loading