This repository has been archived by the owner on Jun 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove dependencies to Piet and druid-shell - Remove AppLauncher, AppDelegate, WinHandler, WindowDescription - Remove Command, Notification, Selector - Remove Textbox widget - Create RenderRoot, EventLoopRunner type - Update render snapshots - Update examples
- Loading branch information
1 parent
2d27d8c
commit 10c6de6
Showing
127 changed files
with
4,219 additions
and
11,841 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,77 +58,14 @@ jobs: | |
uses: actions-rs/cargo@v1 | ||
with: | ||
command: clippy | ||
args: --all-targets --features=x11 --no-default-features | ||
args: --all-targets --no-default-features | ||
|
||
# We use --all-targets to skip doc tests; we run them in a parallel task | ||
- name: cargo test | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --all-targets --no-default-features --features=svg,image,x11 | ||
|
||
# we test the gtk backend as a separate job because gtk install takes | ||
# a long time. | ||
test-stable-gtk: | ||
runs-on: ubuntu-latest | ||
name: cargo test (gtk) | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: install libgtk-3-dev | ||
run: | | ||
sudo apt update | ||
sudo apt install libgtk-3-dev | ||
- name: install stable toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
profile: minimal | ||
override: true | ||
|
||
- name: restore cache | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
# We use --all-targets to skip doc tests; there are no gtk-specific | ||
# doctests in masonry anyway | ||
- name: cargo test | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --all-targets --features=svg,image | ||
|
||
test-stable-wasm: | ||
runs-on: macOS-latest | ||
name: cargo test (wasm32) | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: install wasm-pack | ||
uses: jetli/[email protected] | ||
with: | ||
version: latest | ||
|
||
- name: install stable toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
target: wasm32-unknown-unknown | ||
components: clippy | ||
profile: minimal | ||
override: true | ||
|
||
- name: restore cache | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
# We use --all-targets to skip doc tests; there are no wasm-specific | ||
# doctests in masonry anyway | ||
- name: cargo test | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
# TODO: Add svg feature when it's no longer broken with wasm | ||
args: --all-targets --features=image --no-run --target wasm32-unknown-unknown | ||
args: --all-targets --no-default-features | ||
|
||
doctest-stable: | ||
runs-on: macOS-latest | ||
|
@@ -150,7 +87,7 @@ jobs: | |
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --doc --no-default-features --features=svg,image | ||
args: --doc --no-default-features | ||
|
||
# This tests the future rust compiler to catch errors ahead of time without | ||
# breaking CI | ||
|
@@ -178,12 +115,12 @@ jobs: | |
uses: actions-rs/cargo@v1 | ||
with: | ||
command: check | ||
args: --no-default-features --features=x11 | ||
args: --no-default-features | ||
continue-on-error: true | ||
|
||
- name: cargo clippy | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: clippy | ||
args: --all-targets --no-default-features --features=x11,svg,image | ||
args: --all-targets --no-default-features | ||
continue-on-error: true |
Oops, something went wrong.