Fix crash in 3D rendering if there's only one single tile (#48) #295
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: Build & Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-and-test-native: | |
strategy: | |
matrix: | |
os: ["ubuntu-latest", "macos-14"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Check | |
run: cargo check --all-targets --verbose | |
- name: Build | |
run: cargo build --verbose --package fidget | |
- name: Run tests | |
run: cargo test --verbose --package fidget |