Skip to content

Commit 631bf5f

Browse files
dcrooterahul-thakoor
authored andcommitted
Replace travis with GitHub Actions
1 parent 45c6fae commit 631bf5f

File tree

2 files changed

+28
-23
lines changed

2 files changed

+28
-23
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
pull_request:
6+
7+
name: CI
8+
9+
jobs:
10+
build:
11+
name: Build
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
toolchain: [stable]
16+
target: [armv7-unknown-linux-gnueabihf, arm-unknown-linux-gnueabihf, aarch64-unknown-linux-gnu]
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: actions-rs/toolchain@v1
20+
with:
21+
toolchain: ${{ matrix.toolchain }}
22+
target: ${{ matrix.target }}
23+
override: true
24+
- uses: actions-rs/cargo@v1
25+
with:
26+
use-cross: true
27+
command: build
28+
args: --target ${{ matrix.target }}

.travis.yml

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

0 commit comments

Comments
 (0)