Commit graph

245 commits

Author SHA1 Message Date
Nathan Stocks
13b602ee3f Xtask CI (#1387)
This PR is easiest to review commit by commit.

Followup on https://github.com/bevyengine/bevy/pull/1309#issuecomment-767310084

- [x] Switch from a bash script to an xtask rust workspace member.
  - Results in ~30s longer CI due to compilation of the xtask itself
  - Enables Bevy contributors on any platform to run `cargo ci` to run linting -- if the default available Rust is the same version as on CI, then the command should give an identical result.
- [x] Use the xtask from official CI so there's only one place to update.
- [x] Bonus: Run clippy on the _entire_ workspace (existing CI setup was missing the `--workspace` flag
  - [x] Clean up newly-exposed clippy errors 

~#1388 builds on this to clean up newly discovered clippy errors -- I thought it might be nicer as a separate PR.~  Nope, merged it into this one so CI would pass.

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2021-02-22 08:42:19 +00:00
MinerSebas
c9f19d8663 Cleanup of Markdown Files and add CI Checking (#1463)
I have run the VSCode Extension [markdownlint](https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint) on all Markdown Files in the Repo.
The provided Rules are documented here: https://github.com/DavidAnson/markdownlint/blob/v0.23.1/doc/Rules.md

Rules I didn't follow/fix:
* MD024/no-duplicate-heading
  * Changelog: Here Heading will always repeat.
  * Examples Readme: Platform-specific documentation should be symmetrical.
* MD025/single-title
* MD026/no-trailing-punctuation
  * Caused by the ! in "Hello, World!".
* MD033/no-inline-html
  * The plugins_guidlines file does need HTML, so the shown badges aren't downscaled too much.
* ~~MD036/no-emphasis-as-heading:~~
  * ~~This Warning only Appears in the Github Issue Templates and can be ignored.~~
* ~~MD041/first-line-heading~~
  * ~~Only appears in the Readme for the AlienCake example Assets, which is unimportant.~~

---

I also sorted the Examples in the Readme and Cargo.toml in this order/Priority:
* Topic/Folder
* Introductionary Examples
* Alphabetical Order

The explanation for each case, where it isn't Alphabetical :
* Diagnostics
  * log_diagnostics: The usage of inbuild Diagnostics is more important than creating your own.
* ECS (Entity Component System)
  * ecs_guide: The guide should be read, before diving into other Features.
* Reflection
  * reflection: Basic Explanation should be read, before more advanced Topics.
* WASM Examples
  * hello_wasm: It's "Hello, World!".
2021-02-22 04:50:05 +00:00
Daniel McNab
59066c4854
Bors (#1482)
* Time to do the bors tango
2021-02-19 13:15:29 -08:00
Carter Anderson
b9b4a49419
fix rebase workflow (again) 2021-02-01 12:26:55 -08:00
Carter Anderson
7095dfe4c8
fix rebase workflow 2021-02-01 12:23:18 -08:00
Carter Anderson
32114c1ca8
add rebase action (#1368) 2021-02-01 12:18:58 -08:00
Nathan Stocks
3529dd6fdf
CI Tuning (#1318)
* Simplify syntax & lint. Combine apt installations into a single step.  Future-proof OS selections.

* Remove caching

* Run clippy within the linux stable build. Parallelize all the builds. Cargo check is unneeded.

* build and run tests on windows and macos
2021-01-26 17:11:38 -08:00
Nathan Stocks
940bcf9b0f
Add Contributing Info (#1309)
* Add a CONTRIBUTING.md

* Point to book. Add tools/ci script.

* Update contributing link to point to book
2021-01-26 12:05:33 -08:00
Carter Anderson
6c07c80f81
Update feature_request.md 2021-01-01 16:13:27 -06:00
François
a3bca7e464
Fix ci (#1024)
* fix format

* fix clippy

* used fixed nightly
2020-12-07 11:57:15 -08:00
bg
106486bd99
fix deprecation error in image_texture_loader (and CI error) (#906)
fix deprecation error in image_texture_loader (and CI error)
2020-11-21 12:26:35 -08:00
Théo Degioanni
b324f66135
removed default labels in github issues (#825) 2020-11-09 11:45:58 -08:00
iMplode nZ
0db9e9494d
Regularized Issue Templates so that the grammar is always the same. (#787)
* Regularized Issue Templates so that the grammar is always the same.

* Update bug_report.md

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2020-11-04 16:38:05 -08:00
Carter Anderson
8d2d2426fe
rename example and readme titles (#781) 2020-11-03 12:00:47 -08:00
David Ackerman
7efb1b1887
Fix initial Android support (#778)
* Add force touches, fix ui focus system and touch screen system

* Fix examples README. Update rodio with Android support. Add Android build CI

* Alter android metadata in root Cargo.toml
2020-11-03 11:32:48 -08:00
Carter Anderson
a04e67d9dd
Temporarily disable nightly windows builds
Theres a compiler ICE thats blocking us from publishing.
2020-11-02 12:49:31 -08:00
simlay
9cc6368b28
An initial xcode setup for using xcode (#539)
An example of bevy using xcode
2020-10-31 14:36:24 -07:00
Mariusz Kryński
c743a96fe3
fix CI checks for wasm32 (#715)
fix CI check for wasm32
2020-10-21 18:15:14 -07:00
Carter Anderson
5df6804daf
Delete pull_request_template.md 2020-10-17 12:25:20 -07:00
Logan Magee
90ea5b1e6b
Add issue and pull request templates (#551) 2020-10-15 13:47:23 -07:00
Carter Anderson
dd07674b59
github actions: use stable clippy (#577) 2020-09-25 21:34:47 -07:00
Logan Magee
c2299c7563
Add dependabot config for cargo and GitHub Actions (#570) 2020-09-25 13:51:54 -07:00
Stjepan Glavina
74f881f20d
Fix compilation error on wasm (#549)
Fix compilation error on wasm
2020-09-21 15:47:38 -07:00
Utkarsh
19d4694d24
Added gamepad support using Gilrs (#280)
Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2020-09-18 14:43:47 -07:00
Forest Anderson
a5f6cb03db
Combined tests and check (#423) 2020-09-02 18:10:42 -07:00
Forest Anderson
421783c592
Added windows and macos builds to CI (#373) 2020-08-27 12:24:02 -07:00
Forest Anderson
b718a2063d
Set CI to run on master (#349) 2020-08-26 11:57:55 -07:00
Forest Anderson
4562a0925a
Separate CI jobs (#357) 2020-08-26 11:57:35 -07:00
Forest Anderson
6c43afff08
Added CI badge to readme, changed workflow name (#325) 2020-08-24 11:16:52 -07:00
Carter Anderson
e31f576484
Merge pull request #206 from multun/clippy
Add clippy support and fix all warnings / errors
2020-08-19 21:33:28 -07:00
Carter Anderson
6228e8a4bb
Create FUNDING.yml 2020-08-18 10:59:30 -07:00
Victor "multun" Collod
c38420f1e9 enforce clippy for all target and features 2020-08-16 07:20:06 -07:00
Victor "multun" Collod
d138647818 enforce cargo fmt --check 2020-08-16 05:02:06 -07:00
Carter Anderson
70b12452b5 github actions: install alsa 2020-07-23 13:18:23 -07:00
Carter Anderson
f17cf82a87 github actions: run once per day 2020-06-25 10:20:13 -07:00
Carter Anderson
b965bfc116 github actions: remove cache (just caused hangs and failures) 2020-06-08 10:06:27 -07:00
Carter Anderson
086059c11f github actions: move cargo home to local directory in attempt to correctly cache 2020-06-08 01:37:55 -07:00
Carter Anderson
91edc6fa2b github actions: cargo check 2020-06-08 01:05:56 -07:00
Carter Anderson
8fbbbba674 add github action build cache 2020-06-07 23:40:33 -07:00
Carter Anderson
50651fa5dd specify rust stable toolchain 2020-06-07 23:37:36 -07:00
Carter Anderson
4568f5dae3 remove specialization. bevy now builds on stable rust! 2020-06-07 23:36:39 -07:00
Carter Anderson
8a14e61d0f fix test and tweak github action 2020-05-28 23:43:45 -07:00
Carter Anderson
cb81f3a6f0 github actions: no default features / run all tests 2020-05-28 23:07:59 -07:00
Carter Anderson
43924ba8fc use nightly rust in github actions 2020-05-28 22:44:04 -07:00
Carter Anderson
bc5f53583b
Create rust.yml 2020-05-28 20:48:18 -07:00