Skip to content

Simplify CI workflow: remove version bump and release jobs #8

Simplify CI workflow: remove version bump and release jobs

Simplify CI workflow: remove version bump and release jobs #8

name: Build and Test
on:
push:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-and-test:
strategy:
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
- os: macos-15
target: aarch64-apple-darwin
- os: macos-15-intel
target: x86_64-apple-darwin
- os: windows-2025
target: x86_64-pc-windows-msvc
- os: windows-11-arm
target: aarch64-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Setup Rust Toolchain for GitHub CI
uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606
with:
# Comma-separated list of Rust toolchain specifications. Last version becomes the default. -- see https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification
toolchain: # optional
target: ${{ matrix.target }} # optional
components: # optional
rustflags: # optional, default is -D warnings
# Setup the last installed toolchain as the default via `rustup override`
override: # optional, default is true
- name: Test
run: cargo test --verbose