-
Notifications
You must be signed in to change notification settings - Fork 24
41 lines (41 loc) · 1.05 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: 'Integrate'
on:
- push
- pull_request
jobs:
ci:
name: 'CI'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
toolchain:
- stable
- nightly
steps:
- name: 'Install Linux dependencies'
if: ${{ runner.os == 'Linux' }}
run: sudo apt install attr e2fsprogs libfuse-dev
- name: 'Checkout the repository'
uses: actions/checkout@v2
with:
submodules: true
- name: 'Install the Rust toolchain'
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
- name: 'Build RRG executable'
uses: actions-rs/cargo@v1
with:
command: build
# TODO: Add a step that runs tests with all action features disabled.
- name: 'Run RRG tests'
uses: actions-rs/cargo@v1
with:
command: test
args: >
--features 'test-chattr test-setfattr test-fuse'