Skip to content

Commit

Permalink
Migrate CI to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vks committed Sep 15, 2021
1 parent fdd4620 commit 373321e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Tests

on: [push, pull_request]

jobs:
test:
name: Test
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
toolchain: stable
#deps: sudo apt-get update ; sudo apt install
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
target: ${{ matrix.target }}
toolchain: ${{ matrix.toolchain }}
override: true
- name: Install dependencies
run: ${{ matrix.deps }}
- name: Test
run: |
cargo test --target ${{ matrix.target }}
1 change: 0 additions & 1 deletion .travis.yml

This file was deleted.

0 comments on commit 373321e

Please sign in to comment.