Disable overscanning on VirtualList
.
#538
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 | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking out repo | |
uses: actions/checkout@v3 | |
- name: Checking out rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
components: rustfmt | |
- name: Caching cargo | |
uses: Swatinem/rust-cache@v2 | |
- name: Install dependencies | |
run: sudo apt-get install libgtk-3-dev | |
- name: Build | |
run: cargo build --release | |
- name: Upload binary | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Linux build | |
path: ./target/release/bite | |
build-macos: | |
runs-on: macos-latest | |
steps: | |
- name: Checking out repo | |
uses: actions/checkout@v3 | |
- name: Checking out rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
components: rustfmt | |
- name: Caching cargo | |
uses: Swatinem/rust-cache@v2 | |
- name: Build | |
run: cargo build --release | |
- name: Upload binary | |
uses: actions/upload-artifact@v3 | |
with: | |
name: MacOS build | |
path: ./target/release/bite | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checking out repo | |
uses: actions/checkout@v3 | |
- name: Checking out rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
components: rustfmt | |
- name: Caching cargo | |
uses: Swatinem/rust-cache@v2 | |
- name: Build | |
run: cargo build --release | |
- name: Upload binary | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Windows build | |
path: ./target/release/bite.exe | |
test-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking out repo | |
uses: actions/checkout@v3 | |
- name: Checking out rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
targets: riscv64gc-unknown-none-elf | |
- name: Caching cargo | |
uses: Swatinem/rust-cache@v2 | |
- name: Install dependencies | |
run: sudo apt-get install libgtk-3-dev | |
- name: Test | |
run: cargo test --workspace --lib | |
test-macos: | |
runs-on: macos-latest | |
steps: | |
- name: Checking out repo | |
uses: actions/checkout@v3 | |
- name: Checking out rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
targets: riscv64gc-unknown-none-elf | |
- name: Caching cargo | |
uses: Swatinem/rust-cache@v2 | |
- name: Test | |
run: cargo test --workspace --lib | |
test-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checking out repo | |
uses: actions/checkout@v3 | |
- name: Checking out rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
targets: riscv64gc-unknown-none-elf | |
- name: Caching cargo | |
uses: Swatinem/rust-cache@v2 | |
- name: Test | |
run: cargo test --workspace --lib |