-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In my haste to try to work on Gooey last night, I published a kludgine update without waiting for CI to finish. After both Kludgine and Gooey's CI timed out, I launched the investigation. In the end there is a "fix" -- I think the old code (while amateurish with its usage of boxing futures and fusing, which are unnecessary here I now know) was technically more correct than what is happening here. I put in an issue for the wgpu developers to see: gfx-rs/wgpu#2266. This also overhauls the CI workflows so that they're split. The dependencies have been switched to those that are in the wgpu repository's workflows.
- Loading branch information
Showing
9 changed files
with
91 additions
and
86 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Audit | ||
|
||
on: [push] | ||
|
||
jobs: | ||
audit: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Install Rust | ||
uses: hecrj/setup-rust-action@v1 | ||
- name: Cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.cargo/.crates.toml | ||
~/.cargo/.crates2.json | ||
~/.cargo/bin/cargo-audit | ||
key: cargo-audit | ||
- name: Install cargo-audit | ||
run: cargo -v install cargo-audit | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ matrix.branch }} | ||
- name: Audit | ||
# RUSTSEC-2021-0119: indirect dependency, nix https://github.com/nix-rust/nix/issues/1541 | ||
run: | | ||
cargo audit -D warnings --ignore RUSTSEC-2021-0119 |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Docs | ||
|
||
on: [push] | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
if: github.ref == 'refs/heads/main' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install x11 dependencies for Kludgine | ||
run: | | ||
sudo apt-get update -y -qq | ||
sudo add-apt-repository ppa:oibaf/graphics-drivers -y | ||
sudo apt-get update | ||
sudo apt-get install -y \ | ||
libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers | ||
- name: Generate Docs | ||
run: | | ||
cargo doc --no-deps --all-features | ||
- name: Deploy Docs | ||
uses: JamesIves/github-pages-deploy-action@releases/v4 | ||
with: | ||
branch: gh-pages | ||
folder: target/doc/ | ||
git-config-name: kl-botsu | ||
git-config-email: [email protected] | ||
target-folder: /main/ | ||
clean: true |
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 |
---|---|---|
|
@@ -3,32 +3,6 @@ name: Tests | |
on: [push] | ||
|
||
jobs: | ||
audit: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Install Rust | ||
uses: hecrj/setup-rust-action@v1 | ||
- name: Cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.cargo/.crates.toml | ||
~/.cargo/.crates2.json | ||
~/.cargo/bin/cargo-audit | ||
key: cargo-audit | ||
- name: Install cargo-audit | ||
run: cargo -v install cargo-audit | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ matrix.branch }} | ||
- name: Audit | ||
# RUSTSEC-2021-0090: indirect dependency, ash https://github.com/MaikKlein/ash/issues/354 | ||
run: | | ||
cargo audit -D warnings --ignore RUSTSEC-2021-0090 | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -37,12 +11,10 @@ jobs: | |
- name: Install x11 dependencies for Kludgine | ||
run: | | ||
sudo apt-get update -y -qq | ||
sudo add-apt-repository ppa:kisak/kisak-mesa -y | ||
sudo apt-get install -yqq \ | ||
libxcb-render-util0-dev \ | ||
libxcb-shape0-dev \ | ||
libxcb-xfixes0-dev \ | ||
mesa-vulkan-drivers | ||
sudo add-apt-repository ppa:oibaf/graphics-drivers -y | ||
sudo apt-get update | ||
sudo apt-get install -y \ | ||
libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers | ||
- name: Run clippy | ||
run: | | ||
|
@@ -53,33 +25,3 @@ jobs: | |
- name: Run tokio unit tests | ||
run: | | ||
cargo test --no-default-features --features="tokio-rt" | ||
docs: | ||
runs-on: ubuntu-latest | ||
if: github.ref == 'refs/heads/main' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install x11 dependencies for Kludgine | ||
run: | | ||
sudo apt-get update -y -qq | ||
sudo add-apt-repository ppa:kisak/kisak-mesa -y | ||
sudo apt-get install -yqq \ | ||
libxcb-render-util0-dev \ | ||
libxcb-shape0-dev \ | ||
libxcb-xfixes0-dev \ | ||
mesa-vulkan-drivers | ||
- name: Generate Docs | ||
run: | | ||
cargo doc --no-deps --all-features | ||
- name: Deploy Docs | ||
uses: JamesIves/github-pages-deploy-action@releases/v4 | ||
with: | ||
branch: gh-pages | ||
folder: target/doc/ | ||
git-config-name: kl-botsu | ||
git-config-email: [email protected] | ||
target-folder: /main/ | ||
clean: true |
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
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
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