This repository was archived by the owner on Dec 16, 2024. It is now read-only.
Expand Cargo.toml to prepare for publishing #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
include: | |
- os: windows-latest | |
features: "--features paste" | |
- os: macos-latest | |
features: "--features paste" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build | |
run: cargo build ${{ matrix.features || '' }} | |
- name: Run tests | |
run: cargo test ${{ matrix.features || '' }} |