Implement memory scanning action using YARA. #499
This file contains hidden or 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 | |
| - ubuntu-24.04-arm | |
| - 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: 'Install macOS dependencies' | |
| if: ${{ runner.os == 'macOS' }} | |
| run: brew install autoconf automake libtool | |
| - name: 'Checkout the repository' | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - name: 'Setup the Rust toolchain' | |
| run: | | |
| rustup update ${{ matrix.toolchain }} | |
| rustup override set ${{ matrix.toolchain }} | |
| rustup --version | |
| rustc --version | |
| cargo --version | |
| - name: 'Build RRG executable' | |
| run: cargo build --features 'action-get_filesystem_timeline_tsk' | |
| # TODO: Add a step that runs tests with all action features disabled. | |
| - name: 'Run RRG tests' | |
| run: cargo test --features 'test-chattr test-setfattr test-fuse test-wtmp action-get_filesystem_timeline_tsk' |