diff --git a/.gitea/workflows/on_docserver.yaml b/.gitea/workflows/on_docserver.yaml index 63c6b7a..97ab40b 100644 --- a/.gitea/workflows/on_docserver.yaml +++ b/.gitea/workflows/on_docserver.yaml @@ -22,23 +22,23 @@ jobs: - name: Check out repository code uses: actions/checkout@v3 #run: echo "šŸ’” The ${{ gitea.repository }} repository has been cloned to the runner." - - name: Install Rust - run: | - export RUSTUP_HOME=//share/rust/.rustup - export CARGO_HOME=/usr/share/rust/.cargo - printf "\n\tšŸ‹ Installing dependencies šŸ‹\t\n" - apt-get -yq update - apt-get -yq install build-essential llvm libssl-dev - printf "\n\tšŸ‹ Installing Rust šŸ‹\t\n" - curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=stable --profile=minimal - source "${CARGO_HOME}/env" - rustup component add rustfmt clippy - printf "\n\tšŸ‹ Installed CARGO šŸ‹\t\n" - cargo -V - printf "\n\tšŸ‹ Installed RUSTC šŸ‹\t\n" - rustc -V - # printf "\n\tšŸ‹ Installed RUSTUP šŸ‹\t\n" - # rustup -V + # - name: Install Rust + # run: | + # export RUSTUP_HOME=//share/rust/.rustup + # export CARGO_HOME=/usr/share/rust/.cargo + # printf "\n\tšŸ‹ Installing dependencies šŸ‹\t\n" + # apt-get -yq update + # apt-get -yq install build-essential llvm libssl-dev + # printf "\n\tšŸ‹ Installing Rust šŸ‹\t\n" + # curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=stable --profile=minimal + # source "${CARGO_HOME}/env" + # rustup component add rustfmt clippy + # printf "\n\tšŸ‹ Installed CARGO šŸ‹\t\n" + # cargo -V + # printf "\n\tšŸ‹ Installed RUSTC šŸ‹\t\n" + # rustc -V + # # printf "\n\tšŸ‹ Installed RUSTUP šŸ‹\t\n" + # # rustup -V - name: Rust build run: | export RUSTUP_HOME=/usr/share/rust/.rustup @@ -46,6 +46,7 @@ jobs: source "${CARGO_HOME}/env" cd ${{ gitea.workspace }} pwd + ls -l /toolcache/* ls /home/rootless/ df -h #cargo build