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.
phetch/.github/workflows/rust.yml

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