Skip to content

Commit

Permalink
Update CI (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshiew authored Aug 1, 2024
1 parent 67f75ed commit da5eef2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,32 @@ env:
CARGO_TERM_VERBOSE: true

jobs:
ci:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: rustup show
- run: rustup component add rustfmt
- run: cargo fmt --all -- --check
vet:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- run: rustup show
- name: Install system packages needed by Bevy
run: |
sudo apt-get install -y g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0 libwayland-dev libxkbcommon-dev
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --all-targets
test:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- run: rustup show
- name: Install system packages needed by Bevy
run: |
sudo apt-get install -y g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0 libwayland-dev libxkbcommon-dev
- uses: Swatinem/rust-cache@v2
- run: cargo check --all-targets
- run: cargo test
- run: cargo build --release --no-default-features
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# infinigen
# infinigen [![CI](https://github.com/jameshiew/infinigen/actions/workflows/ci.yml/badge.svg)](https://github.com/jameshiew/infinigen/actions/workflows/ci.yml)

This is a demo for Minecraft-like procedural generation using the [Bevy game engine](https://bevyengine.org/).

Expand Down

0 comments on commit da5eef2

Please sign in to comment.