Increase lowest supported rust toolchain to 1.87.0 #4400
Workflow file for this run
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: stratisd CI on fedora | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - 'CHANGES.txt' | |
| - '**/README.md' | |
| - 'README_tests.md' | |
| - 'tests/**' | |
| - '.packit.yaml' | |
| - 'plans/**' | |
| - 'tests-fmf/**' | |
| pull_request: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - 'CHANGES.txt' | |
| - '**/README.md' | |
| - 'README_tests.md' | |
| - 'tests/**' | |
| - '.packit.yaml' | |
| - 'plans/**' | |
| - 'tests-fmf/**' | |
| workflow_dispatch: | |
| # cancel the in-progress workflow when PR is refreshed. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | |
| cancel-in-progress: true | |
| jobs: | |
| checks: | |
| strategy: | |
| matrix: | |
| include: | |
| - task: make -f Makefile clippy | |
| components: clippy | |
| - task: PROFILEDIR=debug make -f Makefile build | |
| components: cargo | |
| - task: PROFILEDIR=debug make -f Makefile build-min | |
| components: cargo | |
| - task: PROFILEDIR=debug make -f Makefile build-min-no-systemd | |
| components: cargo | |
| - task: PROFILEDIR=debug make -f Makefile build-utils | |
| components: cargo | |
| - task: PROFILEDIR=debug make -f Makefile build-no-ipc | |
| components: cargo | |
| - task: PROFILEDIR=debug make -f Makefile stratisd-tools | |
| components: cargo | |
| - task: make -f Makefile docs-ci | |
| components: cargo | |
| - task: make -f Makefile test | |
| components: cargo | |
| - task: make -f Makefile build | |
| components: cargo | |
| - task: make -f Makefile build-min | |
| components: cargo | |
| - task: make -f Makefile build-no-ipc | |
| components: cargo | |
| runs-on: ubuntu-24.04 | |
| container: | |
| image: fedora:43 # CURRENT DEVELOPMENT ENVIRONMENT | |
| options: --privileged -v /dev:/dev -v /run/udev:/run/udev -v /usr/lib/udev:/usr/lib/udev | |
| steps: | |
| - name: Install dependencies for Fedora | |
| run: > | |
| dnf install -y | |
| clang | |
| curl | |
| cryptsetup-devel | |
| device-mapper-persistent-data | |
| device-mapper-devel | |
| git | |
| libblkid-devel | |
| make | |
| ncurses | |
| sudo | |
| systemd-devel | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| components: ${{ matrix.components }} | |
| - name: Overwrite stratisd dependencies as necessary | |
| uses: stratis-storage/github-actions/stratisd-modify@HEAD | |
| - name: Test ${{ matrix.task }} on ${{ matrix.toolchain }} toolchain | |
| run: ${{ matrix.task }} |