2020-11-06 23:52:56 +00: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 13:21:51 +00:00
|
|
|
- name: Stable
|
2020-11-06 23:52:56 +00:00
|
|
|
run: cargo test
|
2021-02-27 15:06:22 +00:00
|
|
|
- name: Oldstable
|
|
|
|
run: |
|
2022-11-03 19:37:54 +03:00
|
|
|
rustup default 1.60.0
|
2021-02-27 15:06:22 +00:00
|
|
|
cargo test
|
2020-11-17 13:21:51 +00:00
|
|
|
- name: Clippy
|
|
|
|
run: |
|
|
|
|
rustup component add clippy
|
|
|
|
cargo clippy --all-targets
|
2021-08-17 18:04:46 +00: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-13 03:23:37 +01:00
|
|
|
- name: Build
|
|
|
|
run: cargo build --target=aarch64-apple-darwin
|