Skip to content

feat: Configurable isometric tilemap (#345) #527

feat: Configurable isometric tilemap (#345)

feat: Configurable isometric tilemap (#345) #527

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
env:
RUSTFLAGS: -Cdebuginfo=0
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
RUST_BACKTRACE: 1
jobs:
tests:
name: Tests
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.toolchain == 'nightly' }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
toolchain: [stable, beta]
steps:
- uses: actions/checkout@v2
- name: install linux deps
run: |
sudo apt update
sudo apt install gcc cmake build-essential libx11-dev libxi-dev libgl1-mesa-dev libasound2-dev
if: contains(matrix.os, 'ubuntu')
- name: install ${{ matrix.toolchain }} toolchain
id: install_toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
override: true
- uses: seanmiddleditch/gha-setup-ninja@master
if: matrix.os == 'windows-latest'
- run: cargo check --workspace --all-features --all-targets
- run: cargo test --workspace --all-features --all-targets