fast-posit 0.2.0

Software implementation of the Posit floating point format
Documentation
name: Run tests

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:
    strategy:
      matrix:
        arch: [ubuntu-latest, ubuntu-24.04-arm]
        toolchain: [stable, nightly]
        profile: [test, release]

    runs-on: ${{ matrix.arch }}

    steps:
    - uses: actions/checkout@v4
    - name: Select toolchain
      run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
    - name: Build
      run: cargo build --verbose --profile ${{ matrix.profile }}
    - name: Run tests
      run: cargo test --verbose --profile ${{ matrix.profile }}

#  miri:
#    runs-on: ubuntu-latest
#
#    steps:
#    - uses: actions/checkout@v4
#    - name: Select toolchain
#      run: rustup update nightly && rustup default nightly
#    - name: Install miri
#      run: rustup +nightly component add miri
#    - name: Run tests on miri
#      run: cargo miri test --verbose