Files
HEDZReloaded/.github/workflows/ci.yml
PROMETHIA-27 b83e506a4d Bevy 0.17 Migration Final PR (#76)
* Get bevy 0.17 compiling and running (#72)

* get bevy 0.17 compiling and running

* try to fix CI breaking from const assertion for client/server features

* fix `bin` -> `lib` for `shared` in CI

* typo

* fix some collider issues (#73)

* Physics/controller improvements (#74)

* trying to fix physics prediction

* fixed prediction desync

* substantial controller improvements

* Finish off main bevy 0.17 migration (#75)

* fix lookdir issues
- airplane moving backwards
- player model facing backwards
- camera was technically backwards the whole time, and player models were facing the right way; camera is now facing forwards
- firing without a target now respects lookdir

* fix aim targeting

* migrate to bevy_trenchbroom 0.10 crates release

* fixed colliders not being adjusted out of worldspace

* predict platforms to stop constant rollbacks while riding them

* fix key/head drop visuals not working

* Fix key/head drop random initial force

* fixed static head drops duplicating

* fix platform velocity inheritance

* fix thrown projectiles not autorotating

* fix inconsistent explosion animations

* update avian3d to 0.4.1

* fix controller snapping to fixed angle upon switching heads

* clean up commented code

* fix broken physics positions

* Clean comments, fix warnings (#77)

* clean comments, fix warnings

* fix missing import

* steamworks 162 libs

* fix mouselook

---------

Co-authored-by: extrawurst <mail@rusticorn.com>
2025-11-15 09:16:38 -05:00

51 lines
1.4 KiB
YAML

name: ci
on:
pull_request:
push:
branches: ["master"]
jobs:
ci:
strategy:
matrix:
os: [[self-hosted, linux], [self-hosted, macos]]
runs-on: "${{ matrix.os }}"
steps:
- uses: actions/checkout@v4
- uses: cargo-bins/cargo-binstall@main
if: runner.os == 'linux'
- uses: extractions/setup-just@v1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: clippy, rustfmt
- name: "Install and cache dependencies (Linux)"
if: runner.os == 'linux'
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
version: 1.0
- name: Formatting
run: |
cargo fmt --check
- name: Lints
run: |
cargo clippy
- name: Build
run: |
cargo build --bin hedz_reloaded --no-default-features --features shared/client
cargo build --bin server --no-default-features --features shared/server
- name: Tests
run: |
cargo test --lib shared --no-default-features --features client
cargo test --lib shared --no-default-features --features server
cargo test --bin hedz_reloaded --no-default-features --features shared/client
cargo test --bin server --no-default-features --features shared/server