Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ concurrency:
cancel-in-progress: true

jobs:
route:
uses: RISCfuture/ci-workflows/.github/workflows/minerva-route.yml@1.1.0
permissions:
contents: read
tests:
name: Build and Test
strategy:
Expand All @@ -25,7 +29,9 @@ jobs:
swift: "6.3"
- os: ubuntu-latest
swift: "6.4"
runs-on: ${{ matrix.os }}
needs: route
# setup-swift needs sudo for Swift 6.2, so that leg stays hosted.
runs-on: ${{ (matrix.os == 'macos-26' || matrix.os == 'macos-latest') && matrix.swift == '6.4' && fromJSON(needs.route.outputs[matrix.os]) || matrix.os }}
steps:
- uses: actions/checkout@v7.0.1
- uses: SwiftyLab/setup-swift@v1.14.2
Expand All @@ -45,7 +51,8 @@ jobs:
run: swift test -v
docs:
name: Build Documentation
runs-on: macos-26
needs: route
runs-on: ${{ fromJSON(needs.route.outputs.macos-26) }}
steps:
- uses: actions/checkout@v7.0.1
- uses: SwiftyLab/setup-swift@v1.14.2
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,24 @@ on:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: true

jobs:
route:
uses: RISCfuture/ci-workflows/.github/workflows/minerva-route.yml@1.1.0
permissions:
contents: read
build:
name: Build Documentation
# CoreLocation symbols live behind #if canImport(CoreLocation), so the
# published documentation is built on macOS to include them.
runs-on: macos-26
needs: route
runs-on: ${{ fromJSON(needs.route.outputs.macos-26) }}
permissions:
contents: read
steps:
- uses: actions/checkout@v7.0.1
- uses: SwiftyLab/setup-swift@v1.14.2
Expand Down Expand Up @@ -53,6 +58,9 @@ jobs:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/periphery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ on:
pull_request:

jobs:
route:
uses: RISCfuture/ci-workflows/.github/workflows/minerva-route.yml@1.1.0
permissions:
contents: read
periphery:
name: Run Periphery
runs-on: macos-26
needs: route
runs-on: ${{ fromJSON(needs.route.outputs.macos-26) }}
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
permissions:
contents: read
Expand Down
Loading