Add github actions (#244)
* Add github actions * Update readme * Delete travis and appveyor * Rm Iamdone * Update bors
This commit is contained in:
parent
855068323d
commit
6dd7f98d07
64
.github/workflows/ci.yml
vendored
Normal file
64
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,64 @@
|
|||
on: [push, pull_request]
|
||||
|
||||
name: Continuous integration
|
||||
|
||||
jobs:
|
||||
check:
|
||||
name: Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
|
||||
test:
|
||||
name: Test Suite
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
|
||||
fmt:
|
||||
name: Rustfmt
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- run: rustup component add rustfmt
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: fmt
|
||||
args: --all -- --check
|
||||
|
||||
clippy:
|
||||
name: Clippy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- run: rustup component add clippy
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: clippy
|
||||
args: -- -D warnings
|
27
.travis.yml
27
.travis.yml
|
@ -1,27 +0,0 @@
|
|||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
language: rust
|
||||
|
||||
before_script:
|
||||
- rustup component add rustfmt
|
||||
|
||||
rust:
|
||||
- stable
|
||||
|
||||
script:
|
||||
- cargo fmt --all -- --check
|
||||
- cargo build --manifest-path ash/Cargo.toml
|
||||
- cargo build --manifest-path examples/Cargo.toml
|
||||
- cargo build --manifest-path generator/Cargo.toml
|
||||
|
||||
branches:
|
||||
only:
|
||||
# This is where pull requests from "bors r+" are built.
|
||||
- staging
|
||||
# This is where pull requests from "bors try" are built.
|
||||
- trying
|
||||
# Uncomment this to enable building pull requests.
|
||||
- master
|
||||
|
|
@ -5,8 +5,7 @@ A very lightweight wrapper around Vulkan
|
|||
[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE-MIT)
|
||||
[![LICENSE](https://img.shields.io/badge/license-apache-blue.svg)](LICENSE-APACHE)
|
||||
[![Documentation](https://docs.rs/ash/badge.svg)](https://docs.rs/ash)
|
||||
[![Build Status](https://travis-ci.org/MaikKlein/ash.svg?branch=master)](https://travis-ci.org/MaikKlein/ash)
|
||||
[![Build status](https://ci.appveyor.com/api/projects/status/ed7757as3a4ebexn/branch/master?svg=true)](https://ci.appveyor.com/project/MaikKlein/ash/branch/master)
|
||||
[![Build Status](https://github.com/MaikKlein/ash/workflows/CI/badge.svg)](https://github.com/MaikKlein/ash/actions?workflow=CI)
|
||||
[![Join the chat at https://gitter.im/MaikKlein/ash](https://badges.gitter.im/MaikKlein/ash.svg)](https://gitter.im/MaikKlein/ash?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
[![Crates.io Version](https://img.shields.io/crates/v/ash.svg)](https://crates.io/crates/ash)
|
||||
[![](https://tokei.rs/b1/github/maikklein/ash)](https://github.com/MaikKlein/ash)
|
||||
|
|
21
appveyor.yml
21
appveyor.yml
|
@ -1,21 +0,0 @@
|
|||
os: Visual Studio 2015
|
||||
|
||||
environment:
|
||||
matrix:
|
||||
# Stable 64-bit MSVC
|
||||
- channel: stable
|
||||
target: x86_64-pc-windows-msvc
|
||||
|
||||
install:
|
||||
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
||||
- rustup-init -yv --default-toolchain %channel% --default-host %target%
|
||||
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
|
||||
- rustc -vV
|
||||
- cargo -vV
|
||||
|
||||
# 'cargo test' takes care of building for us, so disable Appveyor's build stage. This prevents
|
||||
# the "directory does not contain a project or solution file" error.
|
||||
build: off
|
||||
|
||||
test_script:
|
||||
- cargo test --verbose %cargoflags%
|
|
@ -1,6 +1,3 @@
|
|||
status = [
|
||||
"continuous-integration/travis-ci/push",
|
||||
"continuous-integration/appveyor/branch"
|
||||
]
|
||||
status = ["check"]
|
||||
|
||||
timeout_sec = 18000 # 5 hours
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
imdone-help
|
||||
====
|
||||
#HELP: Try dragging this card to your new list id:8 +imdone-help
|
||||
#HELP: Ignore files by adding `.imdoneignore` to the root of your project. id:1 +imdone-help
|
||||
- [imdone.io](https://imdone.io) implements this with the [ignore package](https://www.npmjs.com/package/ignore)
|
||||
|
||||
#HELP: Use markdown in todo comments or in the description id:3 +imdone-help
|
||||
- **This is a description...**
|
||||
|
||||
#HELP: Add tags to your comments like this `+mvp` id:5 +imdone-help
|
||||
|
||||
#HELP: Add metadata like this... points:5 id:7 +imdone-help
|
||||
- [imdone.io](https://imdone.io) adds `id:n` to all your todo comments, so take care to leave that one alone
|
||||
|
||||
#HELP: Include subtasks using GFM task lists id:9 +imdone-help
|
||||
- [ ] A task yet to be done
|
||||
- [x] This is done
|
Loading…
Reference in a new issue