diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6819dc3..a1a691a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,7 +72,7 @@ jobs: - version: linux os: ubuntu-latest - apt-packages: libftdi-dev libudev-dev + apt-packages: libftdi1-dev libudev-dev executable: target/release/sc64deployer package-name: sc64-deployer-linux package-params: -czf @@ -108,7 +108,7 @@ jobs: - name: Install brew packages if: matrix.brew-packages - run: yes | brew install ${{ matrix.brew-packages }} + run: brew install ${{ matrix.brew-packages }} - name: Build deployer run: cargo b -r ${{ matrix.build-params }} diff --git a/sw/deployer/Cargo.lock b/sw/deployer/Cargo.lock index 8c81fd2..41f9d6a 100644 --- a/sw/deployer/Cargo.lock +++ b/sw/deployer/Cargo.lock @@ -723,14 +723,22 @@ dependencies = [ "rle-decode-fast", ] +[[package]] +name = "libftdi1-source-lgpl" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4412918d38c7b78f59c5b0cefec46e2099876dfd95f07f9bb2269d1d7b09fdb1" + [[package]] name = "libftdi1-sys" version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "575286f9af093f56c7805f4f94874871b84216d1545f499d2cbad9e370000fe7" dependencies = [ + "cc", "cfg-if", "libc", + "libftdi1-source-lgpl", "pkg-config", "vcpkg", ] diff --git a/sw/deployer/Cargo.toml b/sw/deployer/Cargo.toml index cf6b54d..843b5c5 100644 --- a/sw/deployer/Cargo.toml +++ b/sw/deployer/Cargo.toml @@ -17,7 +17,7 @@ encoding_rs = "0.8.34" hex = "0.4.3" image = "0.25.1" include-flate = { version = "0.2.0", features = ["stable"] } -libftdi1-sys = "1.1.3" +libftdi1-sys = { version = "1.1.3", features = ["vendored"] } md5 = "0.7.0" panic-message = "0.3.0" rand = "0.8.5"