Create the project. #1
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: CI | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build-ubuntu: | |
| name: Build on Ubuntu | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Build examples | |
| run: cargo build --verbose --examples | |
| - name: Run tests | |
| run: cargo test --verbose | |
| build-windows: | |
| name: Build on Windows | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Build examples | |
| run: cargo build --verbose --examples | |
| - name: Run tests | |
| run: cargo test --verbose |