Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
noib3 committed Dec 26, 2024
1 parent 2fc7930 commit adfdc43
Showing 1 changed file with 34 additions and 37 deletions.
71 changes: 34 additions & 37 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,15 @@ jobs:
strategy:
fail-fast: false
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [windows-latest]
# neovim: [v0.9.5, v0.10.2, Nightly]
neovim: [v0.10.2]
os: [ubuntu-latest, macos-latest, windows-latest]
neovim: [v0.9.5, v0.10.2, Nightly]
include:
# - neovim: v0.9.5
# features: "--features neovim-0-9"
- neovim: v0.9.5
features: "--features neovim-0-9"
- neovim: v0.10.2
features: "--features neovim-0-10"
# - neovim: Nightly
# features: "--features neovim-nightly"
- neovim: Nightly
features: "--features neovim-nightly"

runs-on: ${{ matrix.os }}

Expand All @@ -45,33 +43,32 @@ jobs:
- name: Install latest stable `rustc`
uses: dtolnay/rust-toolchain@stable
- name: Run tests
run: cargo build --workspace ${{ matrix.features }}
working-directory: .
run: cargo test --workspace ${{ matrix.features }}

# clippy:
# name: clippy
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@nightly
# with:
# components: clippy
# - run: cargo clippy --features neovim-nightly -- -D warnings
#
# docs:
# name: docs
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@nightly
# - run: RUSTFLAGS="-D warnings" RUSTDOCFLAGS="--cfg docsrs" cargo doc --features neovim-nightly
#
# format:
# name: format
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@nightly
# with:
# components: rustfmt
# - run: cargo fmt --check
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
- run: cargo clippy --features neovim-nightly -- -D warnings

docs:
name: docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- run: RUSTFLAGS="-D warnings" RUSTDOCFLAGS="--cfg docsrs" cargo doc --features neovim-nightly

format:
name: format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- run: cargo fmt --check

0 comments on commit adfdc43

Please sign in to comment.