Skip to content

Commit

Permalink
🔧 (release.yml): reorder and add cross-compilation targets for better…
Browse files Browse the repository at this point in the history
… organization

⬆️ (Cargo.toml): upgrade serde_json, thiserror, anyhow, and ort dependencies
  • Loading branch information
wenxuanjun committed Oct 24, 2024
1 parent 76f82cc commit a9d706e
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 66 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ jobs:
strategy:
matrix:
include:
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
features: rustls
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-pc-windows-msvc
os: windows-latest
- target: aarch64-apple-darwin
Expand All @@ -36,9 +31,18 @@ jobs:
os: macos-latest
- target: universal-apple-darwin
os: macos-latest
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
features: rustls
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install cross-compilation tools
uses: taiki-e/setup-cross-toolchain-action@v1
with:
target: ${{ matrix.target }}
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: net-loginer
Expand Down
114 changes: 57 additions & 57 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ codegen-units = 1
dotenvy = "0.15.7"
get_if_addrs = "0.5.3"
log = "0.4.22"
serde_json = "1.0.128"
thiserror = "1.0.64"
anyhow = "1.0.89"
serde_json = "1.0.132"
thiserror = "1.0.65"
anyhow = "1.0.91"
url = "2.5.2"
rgb = "0.8.50"
ort = "2.0.0-rc.6"
ort = "2.0.0-rc.7"
ndarray = "0.16.1"

[dependencies.native-tls]
Expand Down

0 comments on commit a9d706e

Please sign in to comment.