mirror of
https://github.com/xvxx/phetch
synced 2024-11-15 00:12:50 +00:00
34 lines
692 B
YAML
34 lines
692 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
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: check
|
|
run: cargo check
|
|
- name: clippy
|
|
run: cargo clippy
|
|
- name: test
|
|
run: cargo test
|
|
- name: build
|
|
run: cargo build --release
|