Skip to content

Commit

Permalink
Remove uniffi_bindgen install
Browse files Browse the repository at this point in the history
  • Loading branch information
yamadapc committed Dec 7, 2023
1 parent d341785 commit 827bd87
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 24 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ jobs:
echo "::endgroup::"
fi
which cargo-nextest
- name: Install uniffi bindgen
run: |
if ! [ -x "$(command -v uniffi-bindgen)" ]; then
echo "::group::Installing uniffi_bindgen"
cargo install --force --version 0.15.2 uniffi_bindgen
echo "::endgroup::"
fi
which uniffi-bindgen
- name: Run tests
run: ./scripts/test.sh

Expand Down Expand Up @@ -106,15 +98,6 @@ jobs:
~/.cargo/bin/
key: ${{ runner.os }}-cargo-bin

- name: Install uniffi bindgen
run: |
if ! [ -x "$(command -v uniffi-bindgen)" ]; then
echo "::group::Installing uniffi_bindgen"
cargo install --force --version 0.15.2 uniffi_bindgen
echo "::endgroup::"
fi
which uniffi-bindgen
- name: Build release
run: cargo build --release --verbose --workspace --exclude augmented-ui --exclude midir

Expand Down
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ RUN apt-get install --fix-missing -y \
lame \
libgtk-3-dev

RUN . $HOME/.cargo/env && cargo install --version 0.15.2 uniffi_bindgen
RUN . $HOME/.cargo/env && cargo install cargo-nextest
RUN . $HOME/.cargo/env && cargo install cargo-tarpaulin

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
"repositoryURL": "https://github.com/apple/swift-log.git",
"state": {
"branch": null,
"revision": "6fe203dc33195667ce1759bf0182975e4653ba1c",
"version": "1.4.4"
"revision": "532d8b529501fb73a2455b179e0bbb6d49b652ed",
"version": "1.5.3"
}
},
{
Expand Down
4 changes: 0 additions & 4 deletions scripts/install-ubuntu-rust-dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#!/usr/bin/env bash
set -e

if ! [ -x "$(command -v uniffi-bindgen)" ]; then
cargo install --version 0.15.2 uniffi_bindgen
fi

if ! [ -x "$(command -v cargo-tarpaulin)" ]; then
cargo install cargo-tarpaulin
fi
Expand Down

0 comments on commit 827bd87

Please sign in to comment.