Option for output directory #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cargo Tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
- beta | |
- nightly | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | |
- name: Build Core | |
run: cargo build -p stitchy-core --verbose | |
- name: Run tests on CLI | |
run: cargo test -p stitchy-core --verbose | |
- name: Build CLI | |
run: cargo build -p stitchy --verbose | |
- name: Run tests on CLI | |
run: cargo test -p stitchy --verbose |