Command execution/action implementation #229
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |