Skip to content

Collect all presets first, then scan them in parallel #37

Collect all presets first, then scan them in parallel

Collect all presets first, then scan them in parallel #37

Workflow file for this run

name: Check, Build and Upload
on:
push
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: build
run: |
cargo build --release
mv target/release/preset-depends ./
- uses: actions/[email protected]
with:
name: preset-depends_linux
path: preset-depends
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: build
run: |
cargo build --release
mv target/release/preset-depends ./
- uses: actions/[email protected]
with:
name: preset-depends_macos
path: preset-depends
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: build
run: |
cargo build --release
mv target/release/preset-depends.exe ./
- uses: actions/[email protected]
with:
name: preset-depends_windows
path: preset-depends.exe
check:
runs-on: ubuntu-latest
needs:
- build-linux
- build-macos
- build-windows
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: rustfmt
run: rustfmt **/*.rs
- name: clippy
run: cargo clippy -- -Dwarnings
- name: tests
run: cargo test