Skip to content

Adding CI

Adding CI #227

Workflow file for this run

name: Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install x11 dependencies for Kludgine
run: |
sudo apt-get update -y -qq
sudo add-apt-repository ppa:oibaf/graphics-drivers -y
sudo apt-get update
sudo apt-get install -y \
libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
- uses: dtolnay/rust-toolchain@stable
- name: Run clippy
run: |
cargo clippy --all-features --all-targets
- name: Run default features unit tests
run: |
cargo test --all-features --all-targets