Skip to content

Commit 18d9788

Browse files
committed
Migrate to GitHub Actions.
1 parent 4b21b64 commit 18d9788

File tree

2 files changed

+33
-13
lines changed

2 files changed

+33
-13
lines changed

.github/workflows/main.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
on: [push, pull_request]
3+
4+
jobs:
5+
test:
6+
name: Test
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@master
10+
- name: Update rustup
11+
run: rustup self update
12+
- name: Install Rust
13+
run: |
14+
rustup set profile minimal
15+
rustup install nightly
16+
rustup default nightly
17+
rustup component add rust-docs
18+
- name: Install mdbook
19+
run: |
20+
mkdir bin
21+
curl -sSL https://github.com/rust-lang-nursery/mdBook/releases/download/v0.3.4/mdbook-v0.3.4-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
22+
echo "##[add-path]`pwd`/bin"
23+
- name: Report versions
24+
run: |
25+
rustup --version
26+
rustc -Vv
27+
mdbook --version
28+
- name: Run tests
29+
run: mdbook test
30+
- name: Check for unstable features
31+
run: (cd stable-check && cargo run -- ../src)
32+
- name: Check for broken links
33+
run: tests/linkcheck.sh

.travis.yml

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

0 commit comments

Comments
 (0)