CI tests #31
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
| # This workflow will build a Swift project | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift | |
| name: Swift | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| build: | |
| runs-on: macos-26 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| path: Compute | |
| - uses: ./Compute/.github/actions/build-swift-project-macos | |
| with: | |
| checkout-scheme: release/6.2 | |
| - name: Build | |
| run: swift build --traits CompatibilityModeAttributeGraphV6 | |
| working-directory: ./Compute | |
| - name: Test | |
| run: | | |
| swift test --traits CompatibilityModeAttributeGraphV6 --filter UtilitiesTests | |
| swift test --traits CompatibilityModeAttributeGraphV6 --filter ComputeLayoutDescriptorTests | |
| swift test --traits CompatibilityModeAttributeGraphV6 --filter ComputeTests | |
| working-directory: ./Compute |