in-container integrating util to handle processes
 
 
 
Go to file
Vladislav Drozdov e8317600df
Merge pull request #1 from prplV/patch/actions
Create rust_test.yml
2025-05-11 18:23:43 +03:00
.cargo alias for cross-building + readme update 2024-09-16 15:45:38 +03:00
.github/workflows Create rust_test.yml 2025-05-11 18:18:05 +03:00
noxis-cli cli: self made error type with thiserror crate 2025-01-20 15:51:49 +03:00
noxis-rs cicd check 2025-01-22 18:08:10 +03:00
.gitignore Added build.sh with supporting amd64 riscv64 binaries 2025-01-21 14:02:55 +03:00
Cargo.toml gr v2 2024-12-04 11:23:42 +03:00
Dockerfile Changed Ubuntu version 2025-01-21 14:25:26 +03:00
Jenkinsfile Disabled interpolation in Jenkinsfile for last stage 2025-01-23 12:36:22 +03:00
README.md README update 2024-12-06 11:20:18 +03:00
build.sh Changed Ubuntu version 2025-01-21 14:25:26 +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