Add problem 3111: Minimum Rectangles to Cover Points #2007
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: Rust | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| rustfmt: | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: rustup update | |
| - run: rustup component add rustfmt | |
| - run: cargo fmt --all -- --check | |
| strategy: | |
| matrix: | |
| os: | |
| - macOS-latest | |
| - ubuntu-latest | |
| - windows-latest | |
| clippy: | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - if: ${{ matrix.os == 'ubuntu-latest' }} | |
| run: sudo apt-get update && sudo apt-get install --no-install-recommends libfontconfig-dev | |
| - uses: actions/checkout@v4 | |
| - run: rustup update | |
| - run: rustup component add clippy | |
| - run: cargo clippy --workspace --all-targets --all-features -- -D warnings | |
| strategy: | |
| matrix: | |
| os: | |
| - macOS-latest | |
| - ubuntu-latest | |
| - windows-latest | |
| tests: | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - if: ${{ matrix.os == 'ubuntu-latest' }} | |
| run: sudo apt-get update && sudo apt-get install --no-install-recommends libfontconfig-dev | |
| - uses: actions/checkout@v4 | |
| - run: rustup update | |
| - run: cargo test --workspace | |
| strategy: | |
| matrix: | |
| os: | |
| - macOS-latest | |
| - ubuntu-latest | |
| - windows-latest |