swapped version we use to be from imgui_glow_renderer in example #2
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
name: ci | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
rustfmt: | |
name: Check rustfmt | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- run: cargo fmt --all -- --check | |
test: | |
name: Lint and test | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -D warnings | |
RUSTDOCFLAGS: -D warnings | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: clippy | |
run: cargo clippy | |
- name: test | |
run: cargo test | |
- name: build examples | |
run: cargo build --examples |