mirror of
https://github.com/nab138/isideload.git
synced 2026-03-02 14:36:16 +01:00
Fix windows builds
This commit is contained in:
44
.github/workflows/build.yml
vendored
Normal file
44
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
name: "Build isideload"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "*"
|
||||
pull_request:
|
||||
branches:
|
||||
- "*"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- platform: "ubuntu-22.04"
|
||||
- platform: "windows-latest"
|
||||
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Cache Rust dependencies
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: ${{ runner.os }}-tauri-${{ hashFiles('Cargo.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-tauri-
|
||||
|
||||
- name: Install Rust stable
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Add MSVC to PATH
|
||||
if: matrix.platform == 'windows-latest'
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
|
||||
- name: Build
|
||||
run: cargo build --features "vendored-openssl,vendored-botan"
|
||||
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -3242,9 +3242,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "zsign-rust"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7ce7a0eed461e2228b070bd8801e20be6308957204e8193dc87a1b7e51c1b5d3"
|
||||
checksum = "7e718ea4797b0f1b5fbc17fd5141dee51083cf62337b93db75a2320f97e05ed4"
|
||||
dependencies = [
|
||||
"bindgen 0.72.0",
|
||||
"cc",
|
||||
|
||||
3260
isideload/Cargo.lock
generated
3260
isideload/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -26,5 +26,5 @@ sha1 = "0.10"
|
||||
idevice = { version = "0.1.37", features = ["afc", "installation_proxy"] }
|
||||
openssl = "0.10"
|
||||
futures = "0.3"
|
||||
zsign-rust = "0.1"
|
||||
zsign-rust = "0.1.3"
|
||||
thiserror = "2"
|
||||
|
||||
Reference in New Issue
Block a user