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

Query data rename #163

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
d64e148
Add non-existent entity behavior to Has doc (#11025)
nicopap Dec 19, 2023
7d2e6cb
Fix typo in docs for Has (#11028)
rparrett Dec 19, 2023
4852233
OrthographicProjection.scaling_mode is not just for resize (#11024)
stepancheg Dec 19, 2023
dc8fc6c
Reexport winit::platform::android::activity::* in bevy_winit (#11011)
hecksmosis Dec 19, 2023
3b59dbd
Update base64 requirement from 0.13.0 to 0.21.5 (#10336)
mnmaita Dec 21, 2023
ced216f
Update winit dependency to 0.29 (#10702)
Vrixyz Dec 21, 2023
42f7213
Add SystemTime to bevy_utils (#11054)
doonv Dec 21, 2023
ba0f8f9
Add insert_state to App. (#11043)
doonv Dec 21, 2023
37e8074
Derive `Debug` for `BloomCompositeMode` (#11041)
SludgePhD Dec 21, 2023
8666b07
fix base64 padding when loading a gltf file (#11053)
mockersf Dec 21, 2023
b27f749
Explain Changed, Added are not archetype filters (#11049)
stepancheg Dec 21, 2023
80f15e0
Remove CanvasParentResizePlugin (#11057)
Vrixyz Dec 21, 2023
049de6f
add libxkbcommon-x11-0 to the default linux dependencies (#11060)
mockersf Dec 21, 2023
fcb49a5
Document None conditions on compute_aabb (#11051)
nicopap Dec 21, 2023
6fd5802
fix patches for example showcase after winit update (#11058)
mockersf Dec 22, 2023
1142d53
Add missing colon in `States` documentation (#11064)
valentinegb Dec 22, 2023
efb4fa5
Give UI nodes with `Display::None` an empty clipping rect (#10942)
ickshonpe Dec 23, 2023
22acd62
Replace calculation with function call (#11077)
tygyh Dec 23, 2023
e360763
Update sysinfo version to 0.30.0 (#11071)
GuillaumeGomez Dec 23, 2023
7374e58
Register Camera types. (#11069)
kidrigger Dec 23, 2023
eca7924
finish cleaning up dependency bans job (#11059)
mockersf Dec 23, 2023
e61da11
Bump actions/upload-artifact from 2 to 4 (#11014)
dependabot[bot] Dec 24, 2023
42b7378
Re-export smallvec crate from bevy_utils (#11006)
DavJCosby Dec 24, 2023
7b8305e
Remove unnecessary parens (#11075)
tygyh Dec 24, 2023
1568d4a
Reorder impl to be the same as the trait (#11076)
tygyh Dec 24, 2023
dc698f0
Use `WindowBuilder::with_append()` to append canvas (#11065)
daxpedda Dec 24, 2023
c6b32a2
Explain EventWriter limits concurrency (#11063)
stepancheg Dec 24, 2023
13feac6
reflect: maximally relax `TypePath` bounds (#11037)
soqb Dec 24, 2023
ac58a5f
Better doc for SystemName (#11084)
stepancheg Dec 25, 2023
8067e46
Add example for pixel-perfect grid snapping in 2D (#8112)
nxsaken Dec 26, 2023
786abbf
Fix ci xvfb (#11143)
hymm Dec 30, 2023
3d3a065
Misc cleanup (#11134)
JMS55 Dec 30, 2023
70b0eac
Keep track of when a texture is first cleared (#10325)
JMS55 Dec 31, 2023
71adb77
support all types of animation interpolation from gltf (#10755)
mockersf Dec 31, 2023
9f397d0
impl ExclusiveSystemParam for WorldId (#11164)
stepancheg Jan 1, 2024
4fba03b
impl ExclusiveSystemParam for PhantomData (#11153)
stepancheg Jan 1, 2024
bf0be9c
Remove little warn on bevy_ecs (#11149)
pablo-lua Jan 1, 2024
ffded5b
Rename `ArchetypeEntity::entity` into `ArchetypeEntity::id` (#11118)
Jan 1, 2024
189ceaf
Replace or document ignored doctests (#11040)
doonv Jan 1, 2024
2fd0043
Fixed Typo in the description of EntityMut (#11103)
Kees-van-Beilen Jan 1, 2024
8baefa1
Implement Deref and DerefMut for In (#11104)
Adamkob12 Jan 1, 2024
55c9958
refactor collide code (Adopted) (#11106)
tygyh Jan 1, 2024
17ef731
Fix Mesh::ATTRIBUTE_UV_0 documentation (#11110)
stepancheg Jan 1, 2024
c2ab3a0
Do not load prepass normals for transmissive materials (#11140)
coreh Jan 1, 2024
6bc2686
impl ExclusiveSystemParam for SystemName (#11163)
stepancheg Jan 1, 2024
443b64a
Print to stderr from panic handler in LogPlugin (#11170)
stepancheg Jan 1, 2024
846a871
Export tonemapping_pipeline_key (2d), alpha_mode_pipeline_key (#11166)
brianreavis Jan 1, 2024
d8d8bcf
Add ability to panic to logs example (#11171)
stepancheg Jan 2, 2024
4034740
Add window entity to TouchInput events (#11128)
NthTensor Jan 2, 2024
6086d41
Implement `Neg` for `Direction2d` and `Direction3d` (#11179)
Jondolf Jan 2, 2024
2c5439b
Add constants for `Direction2d` and `Direction3d` (#11180)
Jondolf Jan 2, 2024
536a7bd
Add `approx` feature to `bevy_math` (#11176)
Jondolf Jan 2, 2024
ab10e85
Enable cloning EntityHashMap and PreHashMap (#11178)
cBournhonesque Jan 2, 2024
1a2a184
Publish dev-docs with Github Pages artifacts (2nd attempt) (#10892)
BD103 Jan 2, 2024
0f71dcb
Simplify examples/3d/orthographic (#11045)
stepancheg Jan 2, 2024
2440aa8
Add `bevy_hierarchy` Crate and plugin documentation (#10951)
Nilirad Jan 2, 2024
dd14f3a
Implement lightmaps. (#10231)
pcwalton Jan 2, 2024
0275508
Add static assertions to bevy_utils for compile-time checks (#11182)
cBournhonesque Jan 2, 2024
4442439
Unload render assets from RAM (#10520)
JMS55 Jan 3, 2024
5697fee
Bump the vertex attribute index for prepass joints. (#11191)
pcwalton Jan 3, 2024
07cd955
Fix: Gizmos crash due to the persistence policy being set to `Unload`…
fantasyRqg Jan 3, 2024
19f5222
Fix typos plugin.rs (#11193)
TheBlckbird Jan 3, 2024
b6da40c
Print a warning for un-applied commands being dropped from a CommandQ…
garychia Jan 3, 2024
41c3620
Create serialize feature for bevy_ui (#11188)
pablo-lua Jan 3, 2024
3f535d5
Made the remaining types from bevy_ui to reflect the Default trait if…
Ato2207 Jan 3, 2024
5511483
missed negation during accessibility refactor (#11206)
mockersf Jan 3, 2024
93c7e7c
Rename "AddChild" to "PushChild" (#11194)
garychia Jan 4, 2024
99c43fa
Usability methods for RenderTargets and image handles (#10736)
torsteingrindvik Jan 4, 2024
fe68005
Implement TypePath for EntityHash (#11195)
Adamkob12 Jan 4, 2024
cc2a77b
Explain Camera physical size is in pixel (#11189)
stepancheg Jan 4, 2024
cf70f53
Fix integer overflow in BlobVec::push for ZST (#10799)
stepancheg Jan 4, 2024
759b398
Extend `Touches` with clear and reset methods (#10930)
matiqo15 Jan 4, 2024
425570a
assets should be kept on CPU by default (#11212)
mockersf Jan 5, 2024
a35a151
Fix integer overflow in BlobVec::reserve_exact (#11234)
stepancheg Jan 6, 2024
79021c7
Fix perf degradation on web builds (#11227)
nicopap Jan 6, 2024
0349809
Add `libm` feature to `bevy_math` (#11238)
Jondolf Jan 6, 2024
cfcb688
Change SceneSpawner::spawn_dynamic_sync to return InstanceID (#11239)
thebluefish Jan 6, 2024
101037d
update Outdated comment (#11243)
re0312 Jan 7, 2024
c1b785c
Migrate third party plugins guidelines to the book (#11242)
TrialDragon Jan 7, 2024
371cd69
example showcase patches: use default instead of game mode for deskto…
mockersf Jan 8, 2024
2847cc6
Don't auto create assets folder (#11218)
nvdaz Jan 8, 2024
54a943d
Implement minimal reflection probes. (#10057)
pcwalton Jan 8, 2024
a795de3
Use `impl Into<A>` for `Assets::add` (#10878)
Jondolf Jan 8, 2024
da485c2
Add `reserve_handle` to `Assets`. (#10939)
andriyDev Jan 8, 2024
38ef170
Explain OrthographicProjection.scale (#11023)
stepancheg Jan 8, 2024
8d9a0a8
Mul<f32> for ScalingMode (#11030)
stepancheg Jan 8, 2024
1260b7b
StateTransitionEvent (#11089)
SIGSTACKFAULT Jan 8, 2024
df2ba09
Restore support for running `fn` `EntityCommands` on entities that mi…
JoJoJet Jan 8, 2024
42e9908
Remove apply_deferred example (#11142)
stepancheg Jan 8, 2024
bcbb7bb
Add `new_and_length` method to `Direction2d` and `Direction3d` (#11172)
Jondolf Jan 8, 2024
13570cd
Minimize small allocations by dropping the tick Vecs from Resources (…
james7132 Jan 8, 2024
c0f8338
Better error message on incorrect asset label (#11254)
stepancheg Jan 8, 2024
ec14e94
Update `glam`, `encase` and `hexasphere` (#11082)
tim-blackbird Jan 8, 2024
dfa1a5e
Explain where rendering is (#11018)
stepancheg Jan 8, 2024
b257fff
Change Entity::generation from u32 to NonZeroU32 for niche optimizati…
notverymoe Jan 8, 2024
cf3105a
Add run conditions for executing a system after a delay (#11095)
TimJentzsch Jan 8, 2024
9813e39
Rustdoc examples for OrthographicProjection (#11031)
stepancheg Jan 9, 2024
9c972f0
Fix missed explicit conversions in examples (#11261)
rparrett Jan 9, 2024
06bf928
Option to enable deterministic rendering (#11248)
stepancheg Jan 9, 2024
0e61435
mobile and webgpu: trigger redraw request when needed and improve win…
mockersf Jan 9, 2024
6901688
Remove unused event-listener dependency (#11269)
rparrett Jan 9, 2024
13d3de8
Remove unnecessary unsafe impls for WinitWindows on Wasm (#11270)
kettle11 Jan 9, 2024
a657478
resolve all internal ambiguities (#10411)
jakobhellermann Jan 9, 2024
d4ffd4f
fix B0003 example and update logs (#11162)
mockersf Jan 10, 2024
c4e479a
Implement bounding volume types (#10946)
NiseVoid Jan 10, 2024
ce5bae5
Fixed typo in generate_custom_mesh.rs example (#11293)
Gadzev Jan 11, 2024
64a15f1
Fix ssao only sampling mip 0 (#11292)
Elabajaba Jan 12, 2024
3d99663
Revert "Implement minimal reflection probes. (#10057)" (#11307)
mockersf Jan 12, 2024
5c6b7d5
Add paused run condition (#11313)
Ixentus Jan 12, 2024
e6a324a
Unified identifer for entities & relations (#9797)
Bluefinger Jan 13, 2024
e2fd631
Simplify conditions (#11316)
Ixentus Jan 13, 2024
9926123
Add example using `State` in docs (#11319)
BD103 Jan 13, 2024
98b62e8
Clean up code to find the current keyframe (#11306)
alice-i-cecile Jan 13, 2024
69760c7
Skip rehashing TypeIds (#11268)
SpecificProtagonist Jan 13, 2024
78b5f32
Skip alloc when updating animation path cache (#11330)
nicopap Jan 13, 2024
a634075
Inline trivial methods in bevy_hierarchy (#11332)
nicopap Jan 13, 2024
03404c4
UI text rotation and scaling fix (#11326)
ickshonpe Jan 13, 2024
cd12e7c
Make `TypeId::hash` more robust in case of upstream rustc changes (#1…
SpecificProtagonist Jan 14, 2024
6f6269e
Remove `Default` impl for `CubicCurve` (#11335)
BD103 Jan 14, 2024
ec5b9ee
Extract examples `CameraController` into a module (#11338)
MiniaczQ Jan 14, 2024
b2d417b
Warn when bevy_sprite and bevy_pbr are not enabled with bevy_gizmos (…
BD103 Jan 14, 2024
4778fbe
Make sure tracy deps conform to compatibility table (#11331)
torsteingrindvik Jan 14, 2024
8a523de
Describe purpose of bevy_diagnostic (#11327)
matiqo15 Jan 14, 2024
8c6d9b8
Add support for updating the tracing subscriber in LogPlugin (#10822)
cBournhonesque Jan 15, 2024
c29a972
Remove the ability to ignore global volume (#11092)
tim-blackbird Jan 15, 2024
a7b99f0
GLTF extension support (#11138)
CorneliusCornbread Jan 15, 2024
01139b3
Sprite slicing and tiling (#10588)
ManevilleF Jan 15, 2024
3d628a8
Fix Reactive and ReactiveLowPower update modes (#11325)
mockersf Jan 15, 2024
4695b82
Use EntityHashMap whenever possible (#11353)
atlv24 Jan 15, 2024
839d2f8
Approximate indirect specular occlusion (#11152)
aevyrie Jan 15, 2024
aeab690
Change `WinitPlugin` defaults to limit game update rate when window …
maniwani Jan 15, 2024
fcc1113
Fix doc of [`Schedules`] to mention exclusion of current schedule. (#…
tjamaan Jan 15, 2024
ee9a150
Async channel v2 (#10692)
hymm Jan 15, 2024
eb9db21
Camera-driven UI (#10559)
bardt Jan 16, 2024
9f8db0d
Bump toml_edit in build-template-pages tool (#11342)
BD103 Jan 16, 2024
135c724
Texture Atlas rework (#5103)
ManevilleF Jan 16, 2024
184f233
Use glam for computing gLTF node transform (#11361)
richardhozak Jan 16, 2024
fcd7c0f
Exposure settings (adopted) (#11347)
JMS55 Jan 16, 2024
b6e154f
Fix embedded watcher to work with external crates (#11370)
shanecelis Jan 16, 2024
54a54d4
Remove Vec from GpuArrayBuffer (#11368)
atlv24 Jan 16, 2024
ea42d14
Dynamic queries and builder API (#9774)
james-j-obrien Jan 16, 2024
39cca41
Make `DynamicUniformBuffer::push` accept an `&T` instead of `T` (#11373)
SkiFire13 Jan 16, 2024
3a666ca
Fix link to plugin guidelines (#11379)
rparrett Jan 17, 2024
9a8349a
Run markdownlint (#11386)
matiqo15 Jan 17, 2024
43f83d5
Remove duplicate `#[automatically_derived]` in ECS macro (#11388)
wackbyte Jan 17, 2024
30940e5
fix occasional crash moving ui root nodes (#11371)
robtfm Jan 17, 2024
8db4723
[doc] Fix typo and formatting in CONTRIBUTING.md (#11381)
Architector4 Jan 17, 2024
9abf565
Restore brightness in the remaining three examples after exposure PR …
GitGhillie Jan 17, 2024
c9e1fcd
Added AssetLoadFailedEvent, UntypedAssetLoadFailedEvent (#11369)
brianreavis Jan 17, 2024
f6b40a6
Multiple Configurations for Gizmos (#10342)
jeliag Jan 18, 2024
c62ad4b
Implement bounding volumes for primitive shapes (#11336)
Jondolf Jan 18, 2024
d151883
Get Change Tick methods for Resources (#11404)
TheTacBanana Jan 18, 2024
056b006
Use `static_assertions` to check for trait impls (#11407)
BD103 Jan 18, 2024
03ee959
Fix panic on Text UI without Cameras (#11405)
doonv Jan 18, 2024
7125dcb
Customizable camera main texture usage (#11412)
IceSentry Jan 18, 2024
cd2cdb4
Miri is failing on latest nightly: pin nightly to last known working …
mockersf Jan 19, 2024
6fbd585
Fix gizmos app new panic (#11420)
pablo-lua Jan 19, 2024
e9b8c71
move once from bevy_log to bevy_utils, to allow for it's use in bevy_…
lee-orr Jan 19, 2024
a00c71e
Cleanup deterministic example (#11416)
mockersf Jan 19, 2024
f795656
Winit update: fix suspend on Android (#11403)
mockersf Jan 19, 2024
83d6600
Implement minimal reflection probes (fixed macOS, iOS, and Android). …
pcwalton Jan 19, 2024
eff96e2
Add `ReflectFromWorld` and replace the `FromWorld` requirement on `Re…
SkiFire13 Jan 19, 2024
63eb151
Optional state (#11417)
lee-orr Jan 19, 2024
11e4386
Bump dev-docs pages actions (#11418)
BD103 Jan 20, 2024
04aedf1
optimize batch_and_prepare_render_phase (#11323)
re0312 Jan 20, 2024
320ac65
Replace `DiagnosticId` by `DiagnosticPath` (#9266)
LeshaInc Jan 20, 2024
6337fb3
Improve `Rectangle` and `Cuboid` consistency (#11434)
Jondolf Jan 20, 2024
b592a72
Change `Ellipse` representation and improve helpers (#11435)
Jondolf Jan 20, 2024
440bba8
add a required feature for shader_material_glsl (#11440)
mockersf Jan 20, 2024
c31f3aa
Add `Aabb2d::new` and `Aabb3d::new` constructors (#11433)
Jondolf Jan 20, 2024
c6f4583
Add geometric primitives to `bevy_math::prelude` (#11432)
Jondolf Jan 20, 2024
0387331
Direction: Rename `from_normalized` to `new_unchecked` (#11425)
doonv Jan 20, 2024
259fb68
auto create imported asset folder if needed (#11284)
mockersf Jan 21, 2024
ffb6faa
Use Direction3d for gizmos.circle normal (#11422)
ArthurBrussee Jan 21, 2024
18833fa
Fix reflected serialization/deserialization on `Name` component (#11447)
coreh Jan 21, 2024
0fa14c8
Fix wrong transmuted type in `TaskPool::scope_with_executor_inner` (#…
SkiFire13 Jan 21, 2024
8afb3ce
add `storage_texture` option to as_bind_group macro (#9943)
HugoPeters1024 Jan 21, 2024
7fee38a
Merge branch 'main' into query-data-rename
atlv24 Jan 22, 2024
723c2f8
Implement IceSentry's rename suggestions
atlv24 Jan 22, 2024
3cfe5ea
Fix example
atlv24 Jan 22, 2024
1410816
Fix example againg
atlv24 Jan 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

env:
CARGO_TERM_COLOR: always
NIGHTLY_TOOLCHAIN: nightly
NIGHTLY_TOOLCHAIN: nightly-2024-01-17

jobs:
build:
Expand Down Expand Up @@ -276,7 +276,7 @@ jobs:
- name: log failed task - missing update
if: ${{ failure() && github.event_name == 'pull_request' && steps.missing-update.conclusion == 'failure' }}
run: touch ./missing-examples/missing-update
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: ${{ failure() && github.event_name == 'pull_request' }}
with:
name: missing-examples
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
- name: log failed task - missing update
if: ${{ failure() && github.event_name == 'pull_request' && steps.missing-update.conclusion == 'failure' }}
run: touch ./missing-features/missing-update
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: ${{ failure() && github.event_name == 'pull_request' }}
with:
name: missing-features
Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:
run: |
mkdir -p ./msrv
echo ${{ github.event.number }} > ./msrv/NR
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: ${{ failure() && github.event_name == 'pull_request' && steps.check.conclusion == 'failure' }}
with:
name: msrv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:

- name: Save screenshots
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: screenshots-${{ matrix.device }}-${{ matrix.os_version }}
path: .github/start-mobile-example/*.png
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,36 +29,11 @@ jobs:
check-bans:
runs-on: ubuntu-latest
steps:
# on main, prepare a new cargo tree output and cache it
- name: On main, prepare new cargo tree cache
if: github.ref == 'refs/heads/main'
run: cargo tree --depth 3 > cargo-tree-from-main
- name: On main, save the new cargo tree cache
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v3
with:
path: cargo-tree-from-main
key: cargo-tree-from-main
# on other branch, restore the cached cargo tree output
- name: On PR, restore cargo tree cache
uses: actions/cache/restore@v3
if: github.ref != 'refs/heads/main'
with:
path: cargo-tree-from-main
key: cargo-tree-from-main
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
# if not on main, check that the cargo tree output is unchanged
- name: Check if the cargo tree changed from main
if: github.ref != 'refs/heads/main'
continue-on-error: true
id: cargo-tree-changed
run: diff cargo-tree-from-main <(cargo tree --depth 3)
- name: Install cargo-deny
run: cargo install cargo-deny
# if the check was not a success (either skipped because on main or failed because of a change), run the check
- name: Check for banned and duplicated dependencies
if: steps.cargo-tree-changed.outcome != 'success'
run: cargo deny check bans

check-licenses:
Expand Down
33 changes: 24 additions & 9 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,30 @@ on:
branches:
- 'main'

# Allows running the action manually.
workflow_dispatch:

env:
CARGO_TERM_COLOR: always
RUSTDOCFLAGS: --html-in-header header.html

# Sets the permissions to allow deploying to Github pages.
permissions:
contents: read
pages: write
id-token: write

# Only allow one deployment to run at a time, however it will not cancel in-progress runs.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -37,19 +54,17 @@ jobs:
# - A top level redirect to the bevy crate documentation
# - A CNAME file for redirecting the docs domain to the API reference
# - A robots.txt file to forbid any crawling of the site (to defer to the docs.rs site on search engines).
# - A .nojekyll file to disable Jekyll GitHub Pages builds.
- name: Finalize documentation
run: |
echo "<meta http-equiv=\"refresh\" content=\"0; url=bevy/index.html\">" > target/doc/index.html
echo "dev-docs.bevyengine.org" > target/doc/CNAME
echo "User-Agent: *\nDisallow: /" > target/doc/robots.txt
touch target/doc/.nojekyll

- name: Deploy
if: github.repository == 'bevyengine/bevy'
uses: JamesIves/github-pages-deploy-action@v4
- name: Upload site artifact
uses: actions/upload-pages-artifact@v3
with:
branch: gh-pages
folder: target/doc
single-commit: true
force: true
path: target/doc

- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v4
14 changes: 7 additions & 7 deletions .github/workflows/validation-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ jobs:
run: |
sudo apt-get update;
DEBIAN_FRONTEND=noninteractive sudo apt-get install --no-install-recommends -yq \
libasound2-dev libudev-dev;
libasound2-dev libudev-dev libxkbcommon-x11-0;
- name: install xvfb, llvmpipe and lavapipe
run: |
sudo apt-get update -y -qq
sudo add-apt-repository ppa:kisak/kisak-mesa -y
sudo add-apt-repository ppa:kisak/turtle -y
sudo apt-get update
sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
- uses: actions/checkout@v4
Expand Down Expand Up @@ -108,16 +108,16 @@ jobs:
zip traces.zip trace*.json
zip -r screenshots.zip screenshots-*
- name: save traces
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: example-traces.zip
path: traces.zip
- name: save screenshots
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: screenshots.zip
path: screenshots.zip
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: ${{ failure() && github.event_name == 'pull_request' }}
with:
name: example-run
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
- name: install xvfb, llvmpipe and lavapipe
run: |
sudo apt-get update -y -qq
sudo add-apt-repository ppa:kisak/kisak-mesa -y
sudo add-apt-repository ppa:kisak/turtle -y
sudo apt-get update
sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers

Expand All @@ -175,7 +175,7 @@ jobs:
xvfb-run cargo run -p build-wasm-example -- --browsers chromium --browsers firefox --frames 25 --test 2d_shapes lighting text_debug breakout

- name: Save screenshots
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: screenshots
path: .github/start-wasm-example/screenshot-*.png
Expand Down
Loading