Skip to content

Add casr-csharp

Add casr-csharp #311

Workflow file for this run

name: aarch64
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
ubuntu-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2
name: Build and Run Tests
with:
arch: aarch64
distro: ubuntu_latest
dockerRunArgs: |
--privileged
install: |
export CARGO_TERM_COLOR=always
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
apt-get update && apt-get install -y gdb pip curl python3.10-dev clang llvm build-essential
wget https://download.visualstudio.microsoft.com/download/pr/092bec24-9cad-421d-9b43-458b3a7549aa/84280dbd1eef750f9ed1625339235c22/dotnet-sdk-8.0.101-linux-arm64.tar.gz
mkdir /dotnet && tar zxf dotnet-sdk-8.0.101-linux-arm64.tar.gz -C /dotnet && rm -rf dotnet-sdk-8.0.101-linux-arm64.tar.gz
export DOTNET_ROOT=/dotnet
export PATH=$PATH:/dotnet
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export DOTNET_UPGRADEASSISTANT_TELEMETRY_OPTOUT=1
curl https://sh.rustup.rs -o rustup.sh && chmod +x rustup.sh && \
./rustup.sh -y && rm rustup.sh
run: |
export PATH=/root/.cargo/bin:$PATH
export CARGO_TERM_COLOR=always
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
cargo build --release --verbose
cargo test --release --verbose --lib -- --test-threads 1
cargo test --release --verbose --package casr