Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a basic ECS #17

Merged
merged 21 commits into from
Apr 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 22 additions & 6 deletions .github/workflows/main_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
working-directory: ./game-engine
run: cargo check --verbose

- name: Check ECS
working-directory: ./ecs
run: cargo check --verbose

build:
name: Build
runs-on: ubuntu-latest
Expand All @@ -50,6 +54,10 @@ jobs:
working-directory: ./game-engine
run: cargo build --verbose

- name: Build ECS
working-directory: ./ecs
run: cargo build --verbose

test:
name: Test Suite
runs-on: ubuntu-latest
Expand All @@ -72,6 +80,10 @@ jobs:
working-directory: ./game-engine
run: cargo test --verbose

- name: Test ECS
working-directory: ./ecs
run: cargo test --verbose

clippy:
name: Clippy
runs-on: ubuntu-latest
Expand All @@ -89,15 +101,15 @@ jobs:

- name: Clippy IDE
working-directory: ./ide
run: |
cargo clippy
# cargo clippy -- -D warnings # This line will interpet Warnings as errors
run: cargo clippy # -- -D warnings

- name: Clippy Engine
working-directory: ./game-engine
run: |
cargo clippy
# cargo clippy -- -D warnings # This line will interpet Warnings as errors
run: cargo clippy # -- -D warnings

- name: Clippy ECS
working-directory: ./ecs
run: cargo clippy # -- -D warnings

format:
name: Check code formatting
Expand All @@ -121,3 +133,7 @@ jobs:
- name: Check Engine formatting
working-directory: ./game-engine
run: cargo fmt --check

- name: Check ECS formatting
working-directory: ./ecs
run: cargo fmt --check
Loading