Workflow tweaks
This commit is contained in:
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
@@ -44,7 +44,7 @@ jobs:
|
||||
|
||||
- name: Install build dependencies
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev
|
||||
run: sudo apt-get -y update; sudo apt-get -y install --no-install-recommends libasound2-dev libudev-dev libwayland-dev
|
||||
|
||||
- name: Run Clippy lints
|
||||
run: cargo clippy --locked --workspace --all-targets --profile ci --all-features
|
||||
@@ -72,7 +72,7 @@ jobs:
|
||||
|
||||
- name: Install build dependencies
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev
|
||||
run: sudo apt-get -y update; sudo apt-get -y install --no-install-recommends libasound2-dev libudev-dev libwayland-dev
|
||||
|
||||
- name: Run Bevy lints
|
||||
run: bevy_lint --locked --workspace --all-targets --profile ci --all-features
|
||||
@@ -103,7 +103,7 @@ jobs:
|
||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||
|
||||
- name: Install build dependencies
|
||||
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev
|
||||
run: sudo apt-get -y update; sudo apt-get -y install --no-install-recommends libasound2-dev libudev-dev libwayland-dev
|
||||
|
||||
- name: Run tests
|
||||
run: cargo test --locked --workspace --all-targets --profile ci --no-fail-fast
|
||||
@@ -134,7 +134,7 @@ jobs:
|
||||
|
||||
# - name: Install build dependencies
|
||||
# if: steps.cache.outputs.cache-hit != 'true'
|
||||
# run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev
|
||||
# run: sudo apt-get -y update; sudo apt-get -y install --no-install-recommends libasound2-dev libudev-dev libwayland-dev
|
||||
|
||||
# - name: Check web
|
||||
# run: cargo check --config 'profile.web.inherits="dev"' --profile ci --no-default-features --features "dev web" --target wasm32-unknown-unknown
|
||||
|
||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -190,7 +190,7 @@ jobs:
|
||||
|
||||
- name: Install build dependencies (Linux)
|
||||
if: ${{ env.is_platform_enabled == 'true' && matrix.platform == 'linux' }}
|
||||
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
|
||||
run: sudo apt-get -y update; sudo apt-get -y install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
|
||||
|
||||
- name: Prepare output directories
|
||||
if: ${{ env.is_platform_enabled == 'true' }}
|
||||
|
||||
Reference in New Issue
Block a user