Naming Normalization #20
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| setup: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: DeterminateSystems/nix-installer-action@v22 | |
| - uses: DeterminateSystems/magic-nix-cache-action@v13 | |
| - name: Load Shell | |
| run: nix develop .#ciShell | |
| test: | |
| needs: setup | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - crate: crates/assets | |
| - crate: crates/macros | |
| - crate: crates/slide | |
| - crate: crates/tests | |
| - crate: crates/untorn | |
| - crate: crates/vulkan | |
| - crate: mutate-lib | |
| features: vulkan | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: DeterminateSystems/nix-installer-action@v22 | |
| - uses: DeterminateSystems/magic-nix-cache-action@v13 | |
| - name: Test ${{ matrix.crate }} | |
| run: | | |
| nix develop .#ciShell --command cargo test \ | |
| --manifest-path ${{ matrix.crate }}/Cargo.toml \ | |
| ${{ matrix.features && format('--features {0}', matrix.features) || '' }} | |
| build: | |
| needs: setup | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: DeterminateSystems/nix-installer-action@v22 | |
| - uses: DeterminateSystems/magic-nix-cache-action@v13 | |
| - name: Build mutate-visualizer | |
| run: nix develop .#ciShell --command cargo build --manifest-path mutate-visualizer/Cargo.toml |