Skip to content

ci-test

ci-test #882

Workflow file for this run

name: "ci-test"
on:
pull_request:
push:
branches:
- master
- main
- staging # for Bors
- trying # for Bors
schedule:
- cron: '00 05 * * *'
jobs:
test:
name: test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
build: [ubuntu-stable, macos-stable, win-gnu-stable, win-msvc-stable, ubuntu-beta, ubuntu-nightly]
include:
- build: ubuntu-stable
os: ubuntu-latest
rust: stable
- build: macos-stable
os: macOS-latest
rust: stable
- build: win-gnu-stable
os: windows-latest
rust: stable-x86_64-gnu
- build: win-msvc-stable
os: windows-latest
rust: stable
- build: ubuntu-beta
os: ubuntu-latest
rust: beta
- build: ubuntu-nightly
os: ubuntu-latest
rust: nightly
steps:
- name: checkout_repository
uses: actions/checkout@v4.2.1
- name: install_rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- name: fetch
run: cargo fetch --verbose
- name: build
run: cargo build --verbose
- name: test_default_features
run: cargo test --verbose
- name: test_no_default_features
run: cargo test --no-default-features --verbose
- name: test_all_features
run: cargo test --all-features --verbose