diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/ISSUE_TEMPLATE/BUG-REPORT.yml | 82 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/config.yml | 11 | ||||
-rw-r--r-- | .github/workflows/audit.yml | 1 | ||||
-rw-r--r-- | .github/workflows/build.yml | 26 | ||||
-rw-r--r-- | .github/workflows/document.yml | 1 | ||||
-rw-r--r-- | .github/workflows/test.yml | 2 |
6 files changed, 121 insertions, 2 deletions
diff --git a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml new file mode 100644 index 00000000..9d0eb2ed --- /dev/null +++ b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml @@ -0,0 +1,82 @@ +name: I have a problem with the library +description: File a bug report. +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: checkboxes + attributes: + label: Is there an existing issue for this? + description: | + Please, search [the existing issues] and see if an issue already exists for the bug you encountered. + + [the existing issues]: https://github.com/iced-rs/iced/issues + options: + - label: I have searched the existing issues. + required: true + - type: checkboxes + attributes: + label: Is this issue related to iced? + description: | + If your application is crashing during startup or you are observing graphical glitches, there is a chance it may be caused by incompatible hardware or outdated graphics drivers. + + Before filing an issue... + + - If you are using `wgpu`, you need an environment that supports Vulkan, Metal, or DirectX 12. Please, make sure you can run [the `wgpu` examples]. + - If you are using `glow`, you need support for OpenGL 2.1+. Please, make sure you can run [the `glow` examples]. + + If you have any issues running any of the examples, make sure your graphics drivers are up-to-date. If the issues persist, please report them to the authors of the libraries directly! + + [the `wgpu` examples]: https://github.com/gfx-rs/wgpu/tree/master/wgpu/examples + [the `glow` examples]: https://github.com/grovesNL/glow/tree/main/examples + options: + - label: My hardware is compatible and my graphics drivers are up-to-date. + required: true + - type: textarea + attributes: + label: What happened? + id: what-happened + description: | + What problem are you having? Please, also provide the steps to reproduce it. + + If the issue happens with a particular program, please share an [SSCCE]. + + [SSCCE]: http://sscce.org/ + validations: + required: true + - type: textarea + attributes: + label: What is the expected behavior? + id: what-expected + description: What were you expecting to happen? + validations: + required: true + - type: dropdown + id: version + attributes: + label: Version + description: What version of iced are you using? + options: + - master + - 0.3.0 + validations: + required: true + - type: dropdown + id: os + attributes: + label: Operative System + description: Which operative system are you using? + options: + - Windows + - macOS + - Linux + validations: + required: true + - type: textarea + id: logs + attributes: + label: Do you have any log output? + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..00e4748d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: false +contact_links: + - name: I have a question + url: https://github.com/iced-rs/iced/discussions/new?category=q-a + about: Open a discussion with a Q&A format. + - name: I want to start a discussion + url: https://github.com/iced-rs/iced/discussions/new + about: Open a new discussion if you have any suggestions, ideas, feature requests, or simply want to show off something you've made. + - name: I want to chat with other users of the library + url: https://discord.com/invite/3xZJ65GAhd + about: Join the Discord Server and get involved with the community! diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 2ffa10a8..30bb3004 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -11,6 +11,5 @@ jobs: - name: Manually update `nix` crates # See https://github.com/nix-rust/nix/issues/1627 run: | cargo update --package nix:0.20.0 --precise 0.20.2 - cargo update --package nix:0.22.0 --precise 0.22.2 - name: Audit dependencies run: cargo audit diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 25909870..beec168b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,3 +82,29 @@ jobs: with: name: todos-x86_64-apple-darwin path: target/release/todos + + todos_raspberry: + runs-on: ubuntu-latest + steps: + - uses: hecrj/setup-rust-action@v1 + - uses: actions/checkout@master + - name: Install cross + run: cargo install cross + - name: Enable Link Time Optimizations + run: | + echo "[profile.release]" >> Cargo.toml + echo "lto = true" >> Cargo.toml + - name: Build todos binary for Raspberry Pi 3/4 (64 bits) + run: cross build --verbose --release --package todos --target aarch64-unknown-linux-gnu + - name: Archive todos binary + uses: actions/upload-artifact@v1 + with: + name: todos-aarch64-unknown-linux-gnu + path: target/aarch64-unknown-linux-gnu/release/todos + - name: Build todos binary for Raspberry Pi 2/3/4 (32 bits) + run: cross build --verbose --release --package todos --target armv7-unknown-linux-gnueabihf + - name: Archive todos binary + uses: actions/upload-artifact@v1 + with: + name: todos-armv7-unknown-linux-gnueabihf + path: target/armv7-unknown-linux-gnueabihf/release/todos diff --git a/.github/workflows/document.yml b/.github/workflows/document.yml index 849c0778..3a8326b6 100644 --- a/.github/workflows/document.yml +++ b/.github/workflows/document.yml @@ -17,7 +17,6 @@ jobs: -p iced_core \ -p iced_native \ -p iced_lazy \ - -p iced_web \ -p iced_graphics \ -p iced_wgpu \ -p iced_glow \ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0450f13d..433afadc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,3 +37,5 @@ jobs: run: cargo build --package tour --target wasm32-unknown-unknown - name: Check compilation of `todos` example run: cargo build --package todos --target wasm32-unknown-unknown + - name: Check compilation of `integration_wgpu` example + run: cargo build --package integration_wgpu --target wasm32-unknown-unknown |