2020-11-06 18:52:56 -05:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [windows-latest, macos-latest]
|
|
|
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-11-17 08:21:51 -05:00
|
|
|
- name: Stable
|
2020-11-06 18:52:56 -05:00
|
|
|
run: cargo test
|
2021-02-27 10:06:22 -05:00
|
|
|
- name: Oldstable
|
|
|
|
run: |
|
2022-11-03 12:37:54 -04:00
|
|
|
rustup default 1.60.0
|
2021-02-27 10:06:22 -05:00
|
|
|
cargo test
|
2020-11-17 08:21:51 -05:00
|
|
|
- name: Clippy
|
|
|
|
run: |
|
|
|
|
rustup component add clippy
|
|
|
|
cargo clippy --all-targets
|
2021-08-17 14:04:46 -04:00
|
|
|
check-macos-arm:
|
|
|
|
runs-on: macos-11
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install target
|
|
|
|
run: rustup update && rustup target add aarch64-apple-darwin
|
2022-01-12 21:23:37 -05:00
|
|
|
- name: Build
|
|
|
|
run: cargo build --target=aarch64-apple-darwin
|