mirror of https://github.com/xvxx/phetch
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
698 B
YAML
33 lines
698 B
YAML
on: [push, pull_request]
|
|
|
|
name: ci
|
|
|
|
jobs:
|
|
build_macos:
|
|
name: build on macos
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
override: true
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: build
|
|
args: --release
|
|
|
|
build_and_test:
|
|
name: build and test
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: check
|
|
run: cargo check --verbose
|
|
- name: clippy
|
|
run: cargo clippy -- -D warnings
|
|
- name: build
|
|
run: cargo build --verbose
|
|
- name: test
|
|
run: cargo test --verbose
|