Skip to content
Merged
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
47 changes: 26 additions & 21 deletions .github/workflows/building.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,28 +63,33 @@ jobs:
LIBRARY_PATH: ./
run: |
cargo test
build_termux:
name: etradeTaxReturnHelper Termux (Android aarch64) building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-linux-android

build_and_test_no_gui:
name: etradeTaxReturnHelper building
runs-on: ubuntu-latest
steps:
- name: Install system dependencies
run: |
sudo apt-get update
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Cargo build
env:
LIBRARY_PATH: ./
run: |
cargo build --release --no-default-features
- name: Cargo test
env:
LIBRARY_PATH: ./
run: |
cargo test --no-default-features
- name: Install cross
run: cargo install cross --git https://github.com/cross-rs/cross

- name: Cargo test (no GUI)
run: |
cargo test --no-default-features

- name: Cargo build for Termux
run: |
cross build --target aarch64-linux-android --release --no-default-features

- name: Archive Termux binary
uses: actions/upload-artifact@v4
with:
name: etradeTaxReturnHelper-termux-aarch64
path: target/aarch64-linux-android/release/etradeTaxReturnHelper

build_and_test_with_gen_exchange_rates:
name: etradeTaxReturnHelper gen_exchange_rates building
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ gen_exchange_rates = ["serde_json"]
[dependencies]
pdf = "0.7.2"
chrono = "0.4"
reqwest = { version = "0.11.16", features = ["blocking", "json"] }
reqwest = { version = "0.11.16", default-features = false, features = ["blocking","json", "rustls-tls-webpki-roots"] }
serde = { version = "1.0.104", features = ["derive"] }
roxmltree = "0.20.0"
simple_logger = "4.0.0"
Expand Down
Loading