remove cross from build

This commit is contained in:
Rohan Sircar 2021-04-22 20:08:48 +05:30
parent 2bba42498c
commit 463a07cc2a

View File

@ -86,12 +86,12 @@ jobs:
name: Build Binaries name: Build Binaries
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [check, test, lints] needs: [check, test, lints]
strategy: # strategy:
matrix: # matrix:
target: # target:
- x86_64-unknown-linux-gnu # - x86_64-unknown-linux-gnu
# - aarch64-unknown-linux-gnu # # - aarch64-unknown-linux-gnu
# - powerpc64-unknown-linux-gnu # # - powerpc64-unknown-linux-gnu
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
@ -103,9 +103,8 @@ jobs:
uses: Swatinem/rust-cache@v1.2.0 uses: Swatinem/rust-cache@v1.2.0
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
use-cross: true
command: build command: build
args: --release --target=${{ matrix.target }} args: --release --target=x86_64-unknown-linux-gnu
build-docker: build-docker:
name: Build Docker Image name: Build Docker Image