Merge pull request #114 from AryanpurTech/refactor-and-dependency-upd… #46
This file contains hidden or 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: Build | |
| on: | |
| push: | |
| branches: [ master ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| release: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| name: Build Linux | |
| - os: windows-latest | |
| name: Build Windows | |
| - os: macos-latest | |
| name: Build MacOS | |
| name: ${{ matrix.name }} | |
| runs-on: '${{ matrix.os }}' | |
| environment: production | |
| env: | |
| CARGO_INCREMENTAL: 0 | |
| cache-key: "cargo-cache" | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Build | |
| run: cargo build --release --verbose |