-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update repo based on rerun_template (#51)
Get latest stuff from https://github.com/rerun-io/rerun_template (except for MSVR increase)
- Loading branch information
Showing
15 changed files
with
127 additions
and
57 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,2 @@ | ||
* text=auto eol=lf | ||
Cargo.lock linguist-generated=false |
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,13 @@ | ||
<!-- | ||
* Keep your PR:s small and focused. | ||
* The PR title is what ends up in the changelog, so make it descriptive! | ||
* If applicable, add a screenshot or gif. | ||
* Do NOT open PR:s from your `main` branch, as that makes it hard for maintainers to test and add commits to your PR. | ||
* Remember to run `cargo fmt` and `cargo clippy`. | ||
* Open the PR as a draft until you have self-reviewed it and it passes CI. | ||
* When you have addressed a PR comment, mark it as resolved. | ||
Please be patient! | ||
--> | ||
|
||
* Closes #ISSUE_NUMBER |
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,17 @@ | ||
name: Cargo Machete | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
pull_request: | ||
types: [opened, synchronize] | ||
|
||
jobs: | ||
cargo-machete: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Machete | ||
uses: bnjbvr/cargo-machete@main |
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 |
---|---|---|
@@ -1,13 +1,15 @@ | ||
# Copied from https://github.com/rerun-io/rerun_template | ||
on: [push, pull_request] | ||
on: | ||
push: | ||
branches: | ||
- "main" | ||
pull_request: | ||
types: [ opened, synchronize ] | ||
|
||
name: Rust | ||
|
||
env: | ||
# --cfg=web_sys_unstable_apis is required to enable the web_sys clipboard API which egui_web uses | ||
# https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Clipboard.html | ||
# https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html | ||
RUSTFLAGS: -D warnings --cfg=web_sys_unstable_apis | ||
RUSTFLAGS: -D warnings | ||
RUSTDOCFLAGS: -D warnings | ||
|
||
jobs: | ||
|
@@ -24,10 +26,11 @@ jobs: | |
override: true | ||
|
||
- name: Install packages (Linux) | ||
if: runner.os == 'Linux' | ||
uses: awalsh128/[email protected] | ||
with: | ||
# Some deps used by eframe: | ||
packages: libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev | ||
# some deps used by eframe, if that is part of the project | ||
packages: libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev # libgtk-3-dev is used by rfd | ||
version: 1.0 | ||
execute_install_scripts: true | ||
|
||
|
@@ -107,6 +110,7 @@ jobs: | |
toolchain: 1.76.0 | ||
target: wasm32-unknown-unknown | ||
override: true | ||
components: clippy | ||
|
||
- name: Set up cargo cache | ||
uses: Swatinem/rust-cache@v2 | ||
|
@@ -152,4 +156,4 @@ jobs: | |
- name: Build | ||
run: cd example_app && ../trunk build --release --public-url $public_url --dist ../dist/ | ||
env: | ||
public_url: "https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}" | ||
public_url: "https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Release Checklist | ||
|
||
* [ ] Update `CHANGELOG.md` using `./scripts/generate_changelog.py --version 0.NEW.VERSION` | ||
* [ ] Bump version numbers in `Cargo.toml` and run `cargo check`. | ||
* [ ] `git commit -m 'Release 0.x.0 - summary'` | ||
* [ ] `cargo publish --quiet -p ewebsock` | ||
* [ ] `git tag -a 0.x.0 -m 'Release 0.x.0 - summary'` | ||
* [ ] `git pull --tags && git tag -d latest && git tag -a latest -m 'Latest release' && git push --tags origin latest --force && git push origin main ; git push --tags` | ||
* [ ] Do a GitHub release: https://github.com/rerun-io/ewebsock/releases/new |
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 was deleted.
Oops, something went wrong.
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