Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit 4cd5108

Browse files
committed
Switch from Travis/AppVeyor to Github Actions
1 parent c26abc0 commit 4cd5108

File tree

3 files changed

+32
-25
lines changed

3 files changed

+32
-25
lines changed

.appveyor.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
on: [push, pull_request]
3+
4+
jobs:
5+
test:
6+
name: Test
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, windows-latest]
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: Install Rust (rustup)
14+
run: rustup update nightly --no-self-update && rustup default nightly
15+
if: matrix.os != 'macos-latest'
16+
shell: bash
17+
- name: Install Rust (macos)
18+
run: |
19+
curl https://sh.rustup.rs | sh -s -- -y
20+
echo ::add-path::$HOME/.cargo/bin
21+
if: matrix.os == 'macos-latest'
22+
- run: cargo test --all
23+
- run: cargo test --all -- --ignored
24+
25+
rustfmt:
26+
name: Rustfmt
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@master
30+
- name: Install Rust
31+
run: rustup update stable && rustup default stable && rustup component add rustfmt
32+
- run: cargo fmt -- --check

.travis.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)