Skip to content

Commit

Permalink
Merge pull request #8 from KisaragiEffective/KisaragiEffective-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective committed Mar 30, 2024
2 parents 60fd80e + 551d0cf commit 8030519
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Rust

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

env:
CARGO_TERM_COLOR: always

jobs:
build:
strategy:
matrix:
include:
- no-default-features: true
features: "alloc"
- no-default-features: true
features: "std,alloc"
- no-default-features: true
features: "" # core only
- no-default-features: true
features: "std,alloc,serde"
- no-default-features: true
features: "std,alloc,lz4"
- no-default-features: true
features: "std,alloc,lzma"
- no-default-features: true
features: "std,alloc,brotli"
- no-default-features: true
features: "std,alloc,legacy"
- no-default-features: true
features: "std,alloc,serde,lz4,lzma,brotli,legacy"

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build -F '${{ matrix.features }}' --no-default-features --verbose
- name: Run tests
run: cargo test -F '${{ matrix.features }}' --no-default-features --verbose

0 comments on commit 8030519

Please sign in to comment.