diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9da1cffa428..fbd990f6828 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -183,7 +183,7 @@ jobs: timeout-minutes: 30 strategy: matrix: - target: [aarch64-unknown-linux-gnu, x86_64-unknown-linux-gnu] + target: [aarch64-unknown-linux-gnu] name: Build Docker Image runs-on: ubuntu-latest @@ -193,13 +193,16 @@ jobs: with: submodules: recursive - uses: dtolnay/rust-toolchain@stable - target: ["${{ matrix.target }}"] + with: + targets: "${{ matrix.target }}" - uses: swatinem/rust-cache@v2 with: key: ${{ github.job }}-${{ matrix.arch }} + - name: Get Cross + run: cargo install cross - name: Compile run: | - cargo build --all-features --release --target "${{ matrix.target }}" + cargo cross build --all-features --release --target "${{ matrix.target }}" # build: