1 Star 2 Fork 0

Git工具集 / git2-rs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.yml 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
name: CI
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
build: [stable, beta, nightly, macos, windows]
include:
- build: stable
os: ubuntu-latest
rust: stable
- build: beta
os: ubuntu-latest
rust: beta
- build: nightly
os: ubuntu-latest
rust: nightly
- build: macos
os: macos-latest
rust: stable
- build: windows
os: windows-latest
rust: stable
steps:
- uses: actions/checkout@master
- name: Install Rust (rustup)
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
shell: bash
- run: cargo test --no-default-features
- run: cargo test
- run: cargo run --manifest-path systest/Cargo.toml
- run: cargo test --manifest-path git2-curl/Cargo.toml
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install Rust
run: rustup update stable && rustup default stable && rustup component add rustfmt
- run: cargo fmt -- --check
Rust
1
https://gitee.com/vcs-all-in-one/git2-rs.git
git@gitee.com:vcs-all-in-one/git2-rs.git
vcs-all-in-one
git2-rs
git2-rs
master

搜索帮助