Skip to content

Commit 578842a

Browse files
authored
Try #133:
2 parents 051e0b2 + 3b3dcba commit 578842a

File tree

5 files changed

+42
-55
lines changed

5 files changed

+42
-55
lines changed

.github/workflows/ci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
on: [push, pull_request]
2+
name: Continuous Integration
3+
4+
jobs:
5+
# check if the project builds with MSRV, stable and nighly
6+
build:
7+
name: Build
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
rust_version: [1.36.0, stable, nightly]
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v2
15+
- name: Install Rust
16+
uses: actions-rs/toolchain@v1
17+
with:
18+
toolchain: ${{ matrix.rust_version }}
19+
profile: minimal
20+
override: true
21+
- uses: actions-rs/cargo@v1
22+
with:
23+
command: test
24+
use-cross: true
25+
26+
test:
27+
name: Test Suite
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: Checkout repository
31+
uses: actions/checkout@v2
32+
- name: Install Rust
33+
uses: actions-rs/toolchain@v1
34+
with:
35+
toolchain: stable
36+
profile: minimal
37+
override: true
38+
- uses: actions-rs/cargo@v1
39+
with:
40+
command: test
41+
use-cross: true

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![crates.io](https://img.shields.io/crates/d/svd-parser.svg)](https://crates.io/crates/svd-parser)
22
[![crates.io](https://img.shields.io/crates/v/svd-parser.svg)](https://crates.io/crates/svd-parser)
3-
[![Build Status](https://travis-ci.org/rust-embedded/svd.svg?branch=master)](https://travis-ci.org/rust-embedded/svd)
3+
[![Continuous Integration](https://github.com/rust-embedded/svd/workflows/Continuous%20Integration/badge.svg)](https://github.com/rust-embedded/svd/actions)
44
[![Documentation](https://docs.rs/svd-parser/badge.svg)](https://docs.rs/svd-parser)
55

66
# `svd-parser`

ci/install.sh

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

ci/script.sh

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

0 commit comments

Comments
 (0)