richat: add exclude_on_finish source config option (#193)
#239
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
| permissions: | |
| contents: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/release-richat.yml' | |
| push: | |
| branches: | |
| - master | |
| - agave-v* | |
| tags: | |
| - 'richat-v*' | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-22.04 | |
| - ubuntu-24.04 | |
| runs-on: ["${{ matrix.os }}"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install libudev-dev | |
| - uses: fanatid/rust-github-ci-prepare@master | |
| with: | |
| cache-version: v0003-richat | |
| - name: Build richat | |
| run: | | |
| cargo build -p richat --release | |
| cd target/release && \ | |
| mv richat richat-${{ matrix.os }} | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: richat-${{ matrix.os }}-${{ github.sha }} | |
| path: | | |
| target/release/richat-${{ matrix.os }} | |
| - name: Upload release | |
| if: startsWith(github.ref, 'refs/tags/') | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: | | |
| target/release/richat-${{ matrix.os }} |