Skip to content

Commit 75de5e0

Browse files
TrialDragonalice-i-cecileKDecayIceSentrycart
committedFeb 13, 2024
Merge new-book into main (bevyengine#893)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> Co-authored-by: KDecay <kdecaymusic@protonmail.com> Co-authored-by: IceSentry <c.giguere42@gmail.com> Co-authored-by: Carter Anderson <mcanders1@gmail.com> Co-authored-by: Asier Illarramendi <asier@illarra.com> Co-authored-by: Federico Rinaldi <gisquerin@gmail.com> Co-authored-by: Rob Parrett <robparrett@gmail.com> Co-authored-by: Forest Anderson <forest@timsle.com> Co-authored-by: SuperSamus <40663462+SuperSamus@users.noreply.github.com> Co-authored-by: Roryl-c <5150427+Roryl-c@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: François <mockersf@gmail.com> Co-authored-by: raffimolero <49224759+raffimolero@users.noreply.github.com> Co-authored-by: Afonso Lage <lage.afonso@gmail.com> Co-authored-by: Nathan Stocks <cleancut@github.com> Co-authored-by: Bude <kirmesbude@gmail.com> Co-authored-by: TimJentzsch <tim-jentzsch@gmx.de> Co-authored-by: Mike <mike.hsu@gmail.com> Co-authored-by: Fracey <42671542+Fracey@users.noreply.github.com> Co-authored-by: Pand9 <krzstanislawek@gmail.com> Co-authored-by: Hank Jordan <hank@henryjordan.com> Co-authored-by: Nicola Papale <nico@nicopap.ch> Co-authored-by: Berlian Gur <sevenflash@yandex.ru> Co-authored-by: Charles <IceSentry@users.noreply.github.com> Co-authored-by: Andre Popovitch <andre@popovit.ch> Co-authored-by: Denis Pekdemir <denispekdemir@gmail.com> Co-authored-by: Lee Reilly <lee@github.com> Co-authored-by: Zearin <Zearin@users.noreply.github.com> Co-authored-by: thejohnbackes <jbackes@linkedin.com> Co-authored-by: thejohnbackes <jwbackes@gmail.com> Co-authored-by: Valentin Geyer <valentin.geyer@rwth-aachen.de> Co-authored-by: Trayshar <trayshar@t-online.de> Co-authored-by: Lemonzy <lemonzy.pro@gmail.com> Co-authored-by: Tomasz Galkowski <galkowski_t@fastmail.com> Co-authored-by: Gary R Krause <39040273+garyray-k@users.noreply.github.com> Co-authored-by: Erick Melo <erickmelovidal@gmail.com> Co-authored-by: Caio <caiocesar31951910@hotmail.com> Co-authored-by: Caio César Oliveira <54439337+oCaioOliveira@users.noreply.github.com> Co-authored-by: Mike <myhsu@benjaminelectric.com> Co-authored-by: Ida "Iyes <identry@protonmail.com> Co-authored-by: MikaT-code <121306011+MikaT-code@users.noreply.github.com> Co-authored-by: Vezquex <admin@vezquex.com> Co-authored-by: Ciro Costa <ciro.fga@gmail.com> Co-authored-by: Victor Lima <limavictor49@gmail.com> Co-authored-by: Ame <104745335+ameknite@users.noreply.github.com> Co-authored-by: James Liu <contact@jamessliu.com> Co-authored-by: ickk <git@ickk.io> Co-authored-by: Robert Swain <robert.swain@gmail.com> Co-authored-by: 张林伟 <lewiszlw520@gmail.com> Co-authored-by: Paul Kupper <kupper.pa@gmail.com> Co-authored-by: Boxy <supbscripter@gmail.com> Co-authored-by: JoJoJet <21144246+JoJoJet@users.noreply.github.com> Co-authored-by: Aevyrie <aevyrie@gmail.com> Co-authored-by: Marco Buono <thecoreh@gmail.com> Co-authored-by: Aceeri <conmcclusk@gmail.com> Co-authored-by: Jay Pavlina <explodingjay@protonmail.com> Co-authored-by: Greg Sparrow <gvorobjev@gmail.com> Co-authored-by: Andreas Weibye <13300393+Weibye@users.noreply.github.com> Co-authored-by: Adrian Kappel <akappel@users.noreply.github.com> Co-authored-by: Kellen Cataldo <kellencataldo@gmail.com> Co-authored-by: Gian Zellweger <97334144+gianzellweger@users.noreply.github.com> Co-authored-by: laund <laurinschmidt2001@gmail.com> Co-authored-by: Lars-Kristian <lakrsv@users.noreply.github.com> Co-authored-by: Gingeh <39150378+Gingeh@users.noreply.github.com> Co-authored-by: Kenneth Brooks <kenneth.s.brooks@gmail.com> Co-authored-by: Paul Hansen <mail@paul.rs> Co-authored-by: ira <JustTheCoolDude@gmail.com> Co-authored-by: Martin Lysell <martande@gmail.com> Co-authored-by: Sélène Amanita <134181069+Selene-Amanita@users.noreply.github.com> Co-authored-by: Leonardo Gatti <Leonss23Esp@gmail.com> Co-authored-by: Zeke Gabrielse <ezekg@yahoo.com> Co-authored-by: Matt Fellenz <matt@felle.nz> Co-authored-by: Brian Merchant <bhmerchant@gmail.com> Co-authored-by: Jerome Humbert <djeedai@gmail.com> Co-authored-by: Nicola Papale <nicopap@users.noreply.github.com> Co-authored-by: robtfm <50659922+robtfm@users.noreply.github.com> Co-authored-by: JMS55 <47158642+JMS55@users.noreply.github.com> Co-authored-by: Gino Valente <49806985+MrGVSV@users.noreply.github.com> Co-authored-by: mwbryant <65699744+mwbryant@users.noreply.github.com> Co-authored-by: Dot32 <61964090+Dot32IsCool@users.noreply.github.com> Co-authored-by: IDEDARY <49441831+IDEDARY@users.noreply.github.com> Co-authored-by: Nuutti Kotivuori <naked@iki.fi> Co-authored-by: Elabajaba <Elabajaba@users.noreply.github.com> Co-authored-by: Carl Engström <engstromc@gmail.com> Co-authored-by: Opstic <46141527+opstic@users.noreply.github.com> Co-authored-by: SpecificProtagonist <vincentjunge@posteo.net> Co-authored-by: Garden Gim <50333551+gardengim@users.noreply.github.com> Co-authored-by: NiseVoid <NiseVoid@users.noreply.github.com> Co-authored-by: lelo <15314665+hate@users.noreply.github.com> Co-authored-by: Dorian Bucur <6576777+d-bucur@users.noreply.github.com> Co-authored-by: Simon Kindström <simon.kindstrom@gmail.com> Co-authored-by: Max Heyer <mail@maxheyer.com> Co-authored-by: wackbyte <wackbyte@protonmail.com> Co-authored-by: Alex <12872500+alexmadeathing@users.noreply.github.com> Co-authored-by: alexmadeathing <awildaudionerd@gmail.com> Co-authored-by: KshitijAucharmal <39955649+kshitijaucharmal@users.noreply.github.com> Co-authored-by: Connor King <sigstackfault@gmail.com> Co-authored-by: Matthew Miller <mattdm@mattdm.org> Co-authored-by: Michael Tidwell <miketwenty1@users.noreply.github.com> Co-authored-by: BrayMatter <77391373+Braymatter@users.noreply.github.com> Co-authored-by: Tim Siegel <siegeltr@gmail.com> Co-authored-by: DevinLeamy <devinleamy@gmail.com> Co-authored-by: Cameron <51241057+maniwani@users.noreply.github.com> Co-authored-by: Noah <noahshomette@gmail.com> Co-authored-by: Trashtalk217 <trashtalk217@gmail.com> Co-authored-by: Joona Aalto <jondolf.dev@gmail.com> Co-authored-by: Nolan Darilek <nolan@thewordnerd.info> Co-authored-by: Pascal Hertleif <killercup@gmail.com> Co-authored-by: NotAFile <notafile@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: cart <cart@users.noreply.github.com> Co-authored-by: pyu <86333848+pyudev-x@users.noreply.github.com> Co-authored-by: homersimpsons <guillaume.alabre@gmail.com> Co-authored-by: Konstantin Kostiuk <settydark@gmail.com> Co-authored-by: Mikkel Rasmussen <theluja@gmail.com> Co-authored-by: TheBlckbird <account@louisweigel.com> Co-authored-by: Romain 'Maz' BILLOIR <romainb@octobercms.fr> Co-authored-by: TheBlckbird <theblckbrd@proton.me> Co-authored-by: Nia <7388349+conways-glider@users.noreply.github.com> Co-authored-by: Davide Paci <davidejose.paci@studenti.unitn.it> Co-authored-by: Maz <maz@terrajdr.com>
1 parent b0f84fa commit 75de5e0

File tree

164 files changed

+9734
-1735
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+9734
-1735
lines changed
 

‎.github/bors.toml

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
status = [
2-
"build-website",
3-
"generate-wasm-examples",
4-
"generate-assets",
5-
"generate-errors",
6-
"generate-community",
7-
"markdownlint",
8-
]
9-
10-
use_squash_merge = true
1+
status = [
2+
"build-website",
3+
"generate-wasm-examples",
4+
"generate-assets",
5+
"generate-errors",
6+
"generate-community",
7+
"markdownlint",
8+
"test-code",
9+
]
10+
11+
use_squash_merge = true

‎.github/workflows/ci.yml

+22
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
generate-assets:
13+
needs: [markdownlint, test-code]
1314
runs-on: ubuntu-latest
1415
steps:
1516
- uses: actions/checkout@master
@@ -47,6 +48,7 @@ jobs:
4748
retention-days: 1
4849

4950
generate-errors:
51+
needs: [markdownlint, test-code]
5052
runs-on: ubuntu-latest
5153
steps:
5254
- uses: actions/checkout@master
@@ -73,17 +75,25 @@ jobs:
7375
retention-days: 1
7476

7577
generate-wasm-examples:
78+
needs: [markdownlint, test-code]
7679
runs-on: ubuntu-latest
7780
steps:
7881
- uses: actions/checkout@master
7982

83+
- name: "Clone Bevy"
84+
run: >
85+
cd generate-wasm-examples &&
86+
./clone_bevy.sh
87+
8088
- uses: actions/cache@v3
8189
with:
8290
path: |
8391
~/.cargo/bin/
8492
~/.cargo/registry/index/
8593
~/.cargo/registry/cache/
8694
~/.cargo/git/db/
95+
generate-wasm-examples/bevy/target/
96+
content/examples/**/*.wasm
8797
key: ${{ runner.os }}-generate-wasm-examples-${{ hashFiles('generate-wasm-examples/bevy/Cargo.toml') }}
8898

8999
- uses: dtolnay/rust-toolchain@stable
@@ -108,6 +118,7 @@ jobs:
108118
retention-days: 1
109119

110120
generate-community:
121+
needs: [markdownlint, test-code]
111122
runs-on: ubuntu-latest
112123
steps:
113124
- uses: actions/checkout@master
@@ -147,6 +158,17 @@ jobs:
147158
VALIDATE_MARKDOWN: true
148159
DEFAULT_BRANCH: main
149160

161+
test-code:
162+
runs-on: ubuntu-latest
163+
steps:
164+
- uses: actions/checkout@master
165+
166+
- uses: actions/upload-artifact@master
167+
with:
168+
name: generated-errors
169+
path: content/learn/errors
170+
retention-days: 1
171+
150172
build-website:
151173
runs-on: ubuntu-latest
152174
needs: [markdownlint, generate-assets, generate-errors, generate-wasm-examples, generate-community]

0 commit comments

Comments
 (0)
Please sign in to comment.