Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update egui to 0.33 #384

Update egui to 0.33

Update egui to 0.33 #384

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
RUST_LOG: "maps=info"
CARGO_TERM_COLOR: always
jobs:
macos:
runs-on: [macos-latest]
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Format check
run: cargo fmt --all -- --check
- name: Clippy check
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- name: Build
run: cargo build --profile kittest --verbose
- name: Run tests
run: cargo test --profile kittest --verbose -- --show-output
- name: Upload new kittest snapshots
uses: actions/upload-artifact@v4
if: always()
with:
name: kittest-snapshots
path: |
crates/maps/tests/snapshots/
ubuntu:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Format check
run: cargo fmt --all -- --check
- name: Clippy check
run: cargo clippy --all-targets --no-default-features -- -D warnings
- name: Build
run: cargo build --profile kittest --verbose
- name: Run tests
# Run tests without kittest_snapshots feature
# (no wgpu support in CI runner).
run: cargo test --profile kittest --verbose --no-default-features -- --show-output
windows:
# Set below to false to disable build (see also #76).
if: false
runs-on: [windows-latest]
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Format check
run: cargo fmt --all -- --check
- name: Clippy check
run: cargo clippy --all-targets --no-default-features -- -D warnings
- name: Build
run: cargo build --profile kittest --verbose
- name: Run tests
# Run tests without kittest_snapshots feature
# (no wgpu support in CI runner).
run: cargo test --profile kittest --verbose --no-default-features -- --show-output
wasm:
runs-on: [macos-latest] # host irrelevant here, but mac is fastest
steps:
- uses: actions/checkout@v4
with:
# Only build without kittest on wasm.
lfs: false
- name: Setup Rust
run: rustup target add wasm32-unknown-unknown
- name: Clippy check
run: cargo clippy --target wasm32-unknown-unknown -- -D warnings
- name: Build
run: cargo build --verbose --target wasm32-unknown-unknown