Skip to content

Fix aligning to 0 sized reference #123

Fix aligning to 0 sized reference

Fix aligning to 0 sized reference #123

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
ci:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
strategy:
matrix:
rust:
- stable
- beta
- nightly
- 1.61.0 # MSRV
steps:
- name: install_dependencies
run: |
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse"
sudo apt-get update -y -qq
sudo apt-get install libsdl2-dev
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy
- name: Check formatting
run: cargo fmt --all -- --check
- name: Build
run: cargo build --verbose
- name: Build examples
run: cargo build --examples --verbose
- name: Run tests
run: |
cargo test --verbose --release
cargo test --verbose --release --all-features