Skip to content
Myr

ci: install cross from crates.io

Before adoption: this commit came in with the history the project adopted, so no landing records it.

A new release of cross has been put out, so we no longer need to install it from git. PR #1728

authored by Taiki Endo · committed by GitHub · parent 3ca324f · Browse files · 3 files+3 added−9 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+3 added−9 removed

  • other:+3 added−9 removed

3 files+3 added−9 removed

modified:.github/workflows/ci.yml+1 added-3 removed
modified:.github/workflows/release.yml+1 added-3 removed
129 unmodified lines
130131 - name: Use Cross132 # if: matrix.os != 'windows-2019'133 run: |134 # FIXME: to work around bugs in latest cross release, install master.135 # See: https://github.com/rust-embedded/cross/issues/357136 cargo install --git https://github.com/rust-embedded/cross134 cargo install cross135 echo "::set-env name=CARGO::cross"136 echo "::set-env name=TARGET_FLAGS::--target ${{ matrix.target }}"137 echo "::set-env name=TARGET_DIR::./target/${{ matrix.target }}"138
71 unmodified lines
modified:ci/utils.sh+1 added-3 removed
97 unmodified lines
98}99100builder() {101 if is_musl && is_x86_64; then102 # cargo install cross103 # To work around https://github.com/rust-embedded/cross/issues/357104 cargo install --git https://github.com/rust-embedded/cross --force102 cargo install cross103 echo "cross"104 else105 echo "cargo"106 fi
1 unmodified line