Add support for parsing MLT-format vector tile sources #2335
  
    
      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-ci | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| defaults: | |
| run: | |
| working-directory: rustutils/ | |
| jobs: | |
| test: | |
| name: Rust tests | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| include: | |
| - os: macos-latest # M-series CPU | |
| - os: macos-13 # x64 CPU | |
| - os: windows-latest | |
| - os: ubuntu-latest | |
| steps: | |
| - uses: taiki-e/install-action@d6912b47771be2c443ec90dbb3d28e023987e782 # v2.62.1 | |
| with: { tool: just } | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4 | |
| with: | |
| persist-credentials: false | |
| - run: just -v ci-test | |
| msrv: | |
| name: Rust tests MSRV (Minimal Supported Rust Version) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: taiki-e/install-action@d6912b47771be2c443ec90dbb3d28e023987e782 # v2.62.1 | |
| with: { tool: just } | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4 | |
| with: | |
| persist-credentials: false | |
| - name: Read crate metadata | |
| id: metadata | |
| run: echo "rust-version=$(sed -ne 's/rust-version *= *\"\(.*\)\"/\1/p' Cargo.toml)" >> "$GITHUB_OUTPUT" | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@5d458579430fc14a04a08a1e7d3694f545e91ce6 # stable | |
| with: | |
| toolchain: ${{ steps.metadata.outputs.rust-version }} | |
| - run: just ci-test-msrv |