Skip to content

Commit

Permalink
Move remaining Travis tests to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cberner committed Nov 26, 2020
1 parent 713de54 commit 6c47a1c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 21 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,30 @@ on:
pull_request:

jobs:
compile:
runs-on: ubuntu-20.04
strategy:
matrix:
libfuse: [libfuse-dev, libfuse3-dev]
features: [ '', 'abi-7-19' ]

steps:
- uses: actions/checkout@v2
- name: Install packages
run: |
sudo apt update
sudo apt install -y ${{ matrix.libfuse }} build-essential
- uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Run tests
run: |
cargo build --all --all-targets --features=${{ matrix.features }}
cargo build --all --all-targets --no-default-features
cargo test --all --features=${{ matrix.features }}
cargo doc --all --no-deps --features=${{ matrix.features }}
ci:
runs-on: ubuntu-20.04

Expand Down
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

0 comments on commit 6c47a1c

Please sign in to comment.