diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6709ff3..987ec8c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -188,11 +188,11 @@ jobs: steps: - uses: actions/checkout@v3 - name: Dependencies - run: apt update && apt install curl build-essential lld -y && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && echo 'PATH="${PATH}:/root/.cargo/bin"' >> $GITHUB_PATH && . "/root/.cargo/env" && rustup toolchain install nightly && rustup default 1.71 && rustup target add mips64el-unknown-linux-gnuabi64 && rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu + run: apt update && apt install curl build-essential lld -y && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && echo 'PATH="${PATH}:/root/.cargo/bin"' >> $GITHUB_PATH && rustup toolchain install nightly && rustup default 1.71 && rustup target add mips64el-unknown-linux-gnuabi64 && rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu - name: test run: cd /root && ls -a -R - name: Build - run: cd ./c-library/mips64 && /root/.cargo/bin/cargo +nightly build --release + run: cd ./c-library/mips64 && cargo +nightly build --release - name: Fmt run: cd ./c-library/mips64 && cargo fmt --all -- --check - name: Archive production artifacts