mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-07 08:04:27 +01:00
Install protoc on workflow (#352)
* install protoc on workflow (cherry picked from commit 317c7906d968eeb6726ab4a9076a8bf64bdf4a6e) * Bump setup-protoc to v3 and 27.2 --------- Co-authored-by: Roei Erez <roeierez@gmail.com>
This commit is contained in:
6
.github/workflows/build-bindings-android.yml
vendored
6
.github/workflows/build-bindings-android.yml
vendored
@@ -49,6 +49,12 @@ jobs:
|
||||
rustup target add ${{ matrix.target }}
|
||||
cargo install cargo-ndk
|
||||
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
version: "27.2"
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: lib
|
||||
|
||||
6
.github/workflows/build-bindings-darwin.yml
vendored
6
.github/workflows/build-bindings-darwin.yml
vendored
@@ -47,6 +47,12 @@ jobs:
|
||||
rustup target add ${{ matrix.target }}
|
||||
cargo install cargo-lipo
|
||||
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
version: "27.2"
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: lib
|
||||
|
||||
6
.github/workflows/build-bindings-ios.yml
vendored
6
.github/workflows/build-bindings-ios.yml
vendored
@@ -47,6 +47,12 @@ jobs:
|
||||
rustup toolchain install stable --profile minimal
|
||||
rustup target add ${{ matrix.target }}
|
||||
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
version: "27.2"
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: lib
|
||||
|
||||
6
.github/workflows/build-bindings-linux.yml
vendored
6
.github/workflows/build-bindings-linux.yml
vendored
@@ -46,6 +46,12 @@ jobs:
|
||||
rustup toolchain install stable --profile minimal
|
||||
rustup target add ${{ matrix.target }}
|
||||
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
version: "27.2"
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Install gcc-aarch64-linux-gnu
|
||||
if: matrix.target == 'aarch64-unknown-linux-gnu'
|
||||
run: |
|
||||
|
||||
6
.github/workflows/build-bindings-windows.yml
vendored
6
.github/workflows/build-bindings-windows.yml
vendored
@@ -46,6 +46,12 @@ jobs:
|
||||
rustup toolchain install stable --profile minimal
|
||||
rustup target add ${{ matrix.target }}
|
||||
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
version: "27.2"
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: lib
|
||||
|
||||
@@ -72,6 +72,12 @@ jobs:
|
||||
rustup set auto-self-update disable
|
||||
rustup toolchain install stable --profile minimal
|
||||
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
version: "27.2"
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build Kotlin binding
|
||||
if: ${{ inputs.kotlin }}
|
||||
working-directory: lib/bindings
|
||||
|
||||
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
@@ -41,9 +41,9 @@ jobs:
|
||||
cli -> target
|
||||
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v2
|
||||
uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
version: "23.4"
|
||||
version: "27.2"
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Check Rust Clippy
|
||||
@@ -66,9 +66,9 @@ jobs:
|
||||
cli -> target
|
||||
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v2
|
||||
uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
version: "23.4"
|
||||
version: "27.2"
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Run sdk-core tests
|
||||
@@ -89,9 +89,9 @@ jobs:
|
||||
cli -> target
|
||||
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v2
|
||||
uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
version: "23.4"
|
||||
version: "27.2"
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build bindings
|
||||
@@ -227,9 +227,9 @@ jobs:
|
||||
lib -> target
|
||||
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v2
|
||||
uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
version: "23.4"
|
||||
version: "27.2"
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: test-new-project-with-sdk-dependency
|
||||
|
||||
Reference in New Issue
Block a user