Skip to content

FP8 on Arm, AVX 10.2, IBM Power 9+ VSX, & LoongArch LASX πŸ€— #49

FP8 on Arm, AVX 10.2, IBM Power 9+ VSX, & LoongArch LASX πŸ€—

FP8 on Arm, AVX 10.2, IBM Power 9+ VSX, & LoongArch LASX πŸ€— #49

Workflow file for this run

name: Test Rust
on:
pull_request:
branches: ["main", "main-*"]
permissions:
contents: read
jobs:
test_rust:
name: Test Rust
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Print machine specs
shell: bash
run: |
echo "::group::Machine Information"
uname -a || true
cat /proc/cpuinfo 2>/dev/null | head -30 || sysctl -a machdep.cpu 2>/dev/null | head -30 || wmic cpu get Name,NumberOfCores,MaxClockSpeed 2>/dev/null || true
free -h 2>/dev/null || vm_stat 2>/dev/null || systeminfo 2>/dev/null | head -20 || true
echo "::endgroup::"
- name: Install Rust toolchain
uses: moonrepo/setup-rust@v1
- name: Install 32-bit target and dependencies
run: |
rustup target add i686-unknown-linux-gnu
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y gcc-multilib g++-multilib libc6-dev-i386
- name: Test default build
run: cargo test
- name: Test with all features
run: cargo test --all-features
- name: Test no-std build (check only)
run: cargo check --no-default-features
- name: Test i686 cross-compilation build
run: cargo build --target i686-unknown-linux-gnu --all-features
- name: Test i686 cross-compilation (no-std)
run: cargo build --target i686-unknown-linux-gnu --no-default-features