Skip to content
Myr

Merge pull request #1834 from tmccombs/cross-install

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

cross install

authored by Thayne McCombs · committed by GitHub · parents 15b57b9, 68fa2db · Browse files · 1 file+12 added−4 removed
This commit

State

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

Diff stats

1 file+12 added−4 removed

  • other:+12 added−4 removed

1 file+12 added−4 removed

modified:.github/workflows/CICD.yml+12 added-4 removed
132 unmodified lines
133 toolchain: "stable"134135 - name: Install cross136 if: matrix.job.use-cross137 uses: taiki-e/install-action@6f9c7cc51aa54b13cbcbd12f8bbf69d8ba405b4b # v2.62.47138 with:139 tool: cross140137 env:138 cross_version: "v0.2.5"139 package_name: "cross-x86_64-unknown-linux-gnu.tar.gz"140 GH_TOKEN: "${{ github.token }}"141 run: |142 dir="$HOME/.local/bin/"143 mkdir -p "$dir"144 gh release download --repo cross-rs/cross \145 --pattern "${package_name}" -O - "${cross_version}" \146 | tar -C "$dir" -xz147 echo "$dir" >> $GITHUB_PATH148 echo "Installed cross $cross_version" >> $GITHUB_STEP_SUMMARY149 - name: Show version information (Rust, cargo, GCC)150 shell: bash151 run: |152 gcc --version || true
160 unmodified lines