Try out some workflows

This commit is contained in:
novacrazy
2024-09-02 01:04:30 -05:00
parent fa5c7c65c5
commit c2fa98475a
2 changed files with 58 additions and 4 deletions
+55
View File
@@ -0,0 +1,55 @@
name: CI
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'
permissions:
contents: read
jobs:
features:
name: Features / ${{ matrix.std }} ${{ matrix.verify }} ${{ matrix.external }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
std:
- ''
- std
verify:
- ''
- verify
external:
- ''
- js worker
- diesel-pg rusqlite pg fred
- serde bson rand quickcheck schema ramhorns rkyv_07 rkyv_08
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --verbose --tests --no-default-features --features "${{ matrix.std }} ${{ matrix.verify }} ${{ matrix.external }}"
cross:
name: Cross / ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- i686-unknown-linux-gnu
- i586-unknown-linux-gnu
- armv7-unknown-linux-gnueabihf
- aarch64-unknown-linux-gnu
- thumbv6m-none-eabi
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo install cross
- run: cross build --no-default-features --features "serde" --target ${{ matrix.target }} --verbose
+3 -4
View File
@@ -1,6 +1,6 @@
[package]
name = "iso8601-timestamp"
version = "0.3.0-alpha.2"
version = "0.3.0-beta.1"
authors = ["novacrazy <novacrazy@gmail.com>"]
edition = "2018"
description = "High-performance ISO8601 Timestamp formatting and parsing"
@@ -27,11 +27,11 @@ rusqlite = ["dep:rusqlite", "std"]
rand = ["dep:rand", "time/rand"]
quickcheck = ["dep:quickcheck", "time/quickcheck"]
schema = ["schemars"]
verify = [] # Verify numeric input during parsing
verify = [] # Verify numeric input during parsing
default = ["std", "serde"]
[dependencies]
serde = { optional = true, version = "1" }
serde = { optional = true, version = "1", default-features = false }
time = { version = "0.3", default-features = false, features = ["macros"] }
bytes = { optional = true, version = "1.1.0" }
generic-array = "1.0.0"
@@ -60,7 +60,6 @@ iso8601 = "0.6"
ciborium = "0.2"
serde = { version = "1", features = ["derive"] }
rkyv_07 = { package = "rkyv", version = "0.7", default-features = true }
rkyv_08 = { package = "rkyv", version = "0.8.0-alpha.3", default-features = true }
[[bench]]
name = "timestamp"