Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 0.3.1 #38

Merged
merged 3 commits into from
Jan 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 22 additions & 30 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: CI

on:
schedule:
- cron: "0 0 1 * *"
push:
branches: [ staging, trying, master ]
branches: master
pull_request:

jobs:
Expand All @@ -16,6 +18,7 @@ jobs:

build:
name: Build

strategy:
matrix:
include:
Expand All @@ -27,66 +30,55 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
profile: minimal
target: ${{ matrix.target }}
override: true
targets: ${{ matrix.target }}

- uses: actions-rs/cargo@v1
with:
command: build
args: --target ${{ matrix.target }} --release
- run: cargo build --target ${{ matrix.target }} --release
env:
RUSTFLAGS: -D warnings

test:
name: Test
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
profile: minimal
override: true

- name: Print enabled target features
run: rustc --print=cfg -C target-cpu=native

- uses: actions-rs/cargo@v1
with:
command: test
- run: cargo test
env:
RUST_BACKTRACE: 1

test-native:
name: Test
name: Test (native)
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
RUSTFLAGS: -C target-cpu=native

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
profile: minimal
override: true

- name: Print enabled target features
run: rustc --print=cfg -C target-cpu=native

- uses: actions-rs/cargo@v1
with:
command: test
- run: cargo test
env:
RUST_BACKTRACE: 1
RUSTFLAGS: -C target-cpu=native
12 changes: 4 additions & 8 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
on:
push:
branches: [ staging, trying, master ]
branches: master
pull_request:

name: Clippy check
jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: nightly
override: true
components: clippy

- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: cargo clippy
16 changes: 6 additions & 10 deletions .github/workflows/rustfmt.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
push:
branches: [ staging, trying, master ]
branches: master
pull_request:

name: Code formatting check
Expand All @@ -10,14 +10,10 @@ jobs:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: stable
override: true
toolchain: 1.75.0
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check

- run: cargo +stable fmt --all -- --check
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [v0.3.1] - 2024-01-01

- Update on `nightly-2024-01-01`

## [v0.3.0] - 2022-08-11

- All functions now generic over size of SIMD vectors. Support all sizes
Expand All @@ -19,6 +23,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [v0.1.0] - 2022-08-05

[Unreleased]: https://github.com/rust-embedded/svd2rust/compare/v0.3.0...HEAD
[Unreleased]: https://github.com/rust-embedded/svd2rust/compare/v0.3.1...HEAD
[v0.3.1]: https://github.com/rust-embedded/svd2rust/compare/v0.3.0...v0.3.1
[v0.3.0]: https://github.com/rust-embedded/svd2rust/compare/v0.2.0...v0.3.0
[v0.2.0]: https://github.com/rust-embedded/svd2rust/compare/v0.1.0...v0.2.0
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "sleef"
edition = "2021"
version = "0.3.0"
version = "0.3.1"
authors = ["Andrey Zgarbul <zgarbul.andrey@gmail.com>"]
description = "Math functions for SIMD vectors"
keywords = ["simd", "libm", "math"]
Expand Down