mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
ci fixes
This commit is contained in:
@@ -43,17 +43,10 @@ jobs:
|
||||
|
||||
- run: rustc --version && cargo --version
|
||||
|
||||
- name: Set env variables (Windows)
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
- name: Build and test
|
||||
env:
|
||||
RUSTFLAGS: -C prefer-dynamic=yes
|
||||
run: |
|
||||
$Env:RUSTFLAGS = '-C prefer-dynamic=yes'
|
||||
cargo build --verbose --workspace --all-targets --all-features --profile github-ci
|
||||
cargo test --verbose --workspace --all-features --profile github-ci
|
||||
|
||||
- name: Set env variables (Unix)
|
||||
if: ${{ matrix.os != 'windows-latest' }}
|
||||
run: |
|
||||
export RUSTFLAGS="-C prefer-dynamic=yes"
|
||||
cargo build --verbose --workspace --all-targets --all-features --profile github-ci
|
||||
cargo test --verbose --workspace --all-features --profile github-ci
|
||||
|
||||
@@ -143,6 +136,9 @@ jobs:
|
||||
run: |
|
||||
cargo install fyrox-template --path=template --force
|
||||
- name: Generate and run project
|
||||
env:
|
||||
# Suppress warnings, because project template contains a lot of unused method arguments.
|
||||
RUSTFLAGS: -Awarnings
|
||||
run: |
|
||||
cd ../
|
||||
fyrox-template init --name test_project --style=3d
|
||||
|
||||
@@ -23,6 +23,7 @@ pub struct FbxMeshGeometry {
|
||||
pub uvs: Option<FbxLayerElement<Vector2<f32>>>,
|
||||
pub materials: Option<FbxLayerElement<i32>>,
|
||||
pub tangents: Option<FbxLayerElement<Vector3<f32>>>,
|
||||
#[allow(dead_code)] // TODO: Use binormals.
|
||||
pub binormals: Option<FbxLayerElement<Vector3<f32>>>,
|
||||
|
||||
pub deformers: Vec<Handle<FbxComponent>>,
|
||||
|
||||
Reference in New Issue
Block a user