in-container integrating util to handle processes
 
 
 
Go to file
prplV 576a5e0739
test-org/runner-rs/pipeline/pr-rc There was a failure building this commit Details
cicd fix with dep installing
2025-01-13 15:25:10 +03:00
.cargo alias for cross-building + readme update 2024-09-16 15:45:38 +03:00
noxis-cli noxis cli protocol now developed 2025-01-09 15:10:34 +03:00
noxis-rs test fix not to test bash code ) 2025-01-13 15:17:32 +03:00
.gitignore gr v2 2024-12-04 11:23:42 +03:00
Cargo.toml gr v2 2024-12-04 11:23:42 +03:00
Dockerfile cicd fix with dep installing 2025-01-13 15:25:10 +03:00
Jenkinsfile cicd fix with dep installing 2025-01-13 15:25:10 +03:00
README.md README update 2024-12-06 11:20:18 +03:00
gdb_init setting up for cross-platform building 2024-08-23 11:57:41 +03:00
logo.png README update 2024-12-06 11:20:18 +03:00
rust-toolchain rust-toolchain file added its needed (really needed) 2024-08-23 11:09:36 +03:00

README.md

noxis-rs

Logo

In-container integrating util to handle processes runtime

( with amd64 and riscv64 support )

Depends on

  • rustup (>=1.27.1)
  • gcc-riscv64-unknown-elf
  • build-essential
  • gcc-riscv64-linux-gnu
  • binutils-riscv64-linux-gnu

Setting up

Download and execute rustup.sh

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Building

  1. Clone this repo runner-rs
  git clone https://github.com/prplV/runner-rs
  1. Enter project's dir and set up toolchain list to compile code for RISC-V and AMD64
  cd runner-rs/ && rustup target add riscv64gc-unknown-linux-gnu && rustup target add x86_64-unknown-linux-gnu

[!NOTE]
Cargo is configured to build an app for amd64/linux defaultly. RISCV-based compilation is optional.

3.1. Release build of app for amd64/linux

cargo x86_64

3.2. Release build of app for riscv64/linux

cargo riscv64

3.3. Release build of app for both (riscv64 and amd64)

cargo unibuild

Execution for amd64/linux

./target/x86_64-unknown-linux-gnu/release/runner-rs

or

cargo run_x86

Execution for riscv64/linux

./target/riscv64gc-unknown-linux-gnu/release/runner-rs

or

[!CAUTION]
cargo run_risc command is a temp broken. Better use the first one

cargo run_risc