diff --git a/.github/workflows/bin.yaml b/.github/workflows/bin.yaml index 866af6f2..9b4c10ed 100644 --- a/.github/workflows/bin.yaml +++ b/.github/workflows/bin.yaml @@ -6,9 +6,12 @@ on: push: branches: ["mara/npx"] +env: + PKG_CONFIG_ALLOW_CROSS: 1 + jobs: build: - name: Build and Release Binaries + name: Build Binaries runs-on: ubuntu-latest strategy: matrix: @@ -41,6 +44,13 @@ jobs: - name: Cache uses: Swatinem/rust-cache@v2 + - name: Setup Runner + if: runner.os == 'Linux' + run: | + sudo apt-get update + sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf + export PKG_CONFIG_PATH=/usr/arm-linux-gnueabihf/lib/pkgconfig + - name: Build run: cargo build --release --target ${{ matrix.target }} @@ -51,6 +61,7 @@ jobs: path: target/${{ matrix.target }}/release/* publish: + name: Publish Binaries needs: build runs-on: ubuntu-latest steps: diff --git a/registry/Cargo.toml b/registry/Cargo.toml index 46cea14a..a87f3c8d 100644 --- a/registry/Cargo.toml +++ b/registry/Cargo.toml @@ -6,7 +6,7 @@ description = "Registry for buffrs, a modern protocol buffer package manager" license = "Apache-2.0" [dependencies] -buffrs = { path = "../", version = "0.6.4" } +buffrs = { path = "../", version = "0.7" } prost = "0.12.1" tonic = "0.10.2" clap = { version = "4.3", features = ["cargo", "derive", "env"] }