Skip to content

Commit

Permalink
Adding CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ecton committed Nov 2, 2023
1 parent a95a7dc commit ffb88e5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Empty file added .github/workflows/docs.yml
Empty file.
26 changes: 26 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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

0 comments on commit ffb88e5

Please sign in to comment.