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 @@ -28,9 +28,15 @@ concurrency:
cancel-in-progress: true

jobs:
route:
uses: RISCfuture/ci-workflows/.github/workflows/minerva-route.yml@1.1.0
permissions:
contents: read
tests-darwin:
name: Build and Test (macOS)
runs-on: xcode-27
# Executes the macOS 27 test bundle, so it needs the macOS 27 pool.
needs: route
runs-on: ${{ fromJSON(needs.route.outputs.macos-27) }}
steps:
- uses: actions/checkout@v7.0.1
# `latest` rather than `latest-stable`: the macOS 27 SDK is what this
Expand Down Expand Up @@ -78,7 +84,8 @@ jobs:
name: Build Documentation
# macOS: the CoreLocation-gated Location extension is absent from the
# Linux symbol graph, so its documentation would go unchecked there.
runs-on: xcode-27
needs: route
runs-on: ${{ fromJSON(needs.route.outputs.xcode-27) }}
steps:
- uses: actions/checkout@v7.0.1
- uses: maxim-lobanov/setup-xcode@v1.7.0
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,20 +7,25 @@ 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: Generate Documentation
# macOS: the CoreLocation-gated Location extension is absent from the
# Linux symbol graph, so its documentation would be missing there.
# xcode-27: the package's macOS 27 floor needs the macOS 27 SDK to build.
runs-on: xcode-27
needs: route
runs-on: ${{ fromJSON(needs.route.outputs.xcode-27) }}
permissions:
contents: read
steps:
- uses: actions/checkout@v7.0.1
- uses: maxim-lobanov/setup-xcode@v1.7.0
Expand Down Expand Up @@ -71,6 +76,9 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/periphery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ on:
branches: [main]
pull_request:
jobs:
route:
uses: RISCfuture/ci-workflows/.github/workflows/minerva-route.yml@1.1.0
permissions:
contents: read
periphery:
name: Run Periphery
# xcode-27: scanning builds the package, which needs the macOS 27 SDK.
runs-on: xcode-27
needs: route
runs-on: ${{ fromJSON(needs.route.outputs.xcode-27) }}
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
permissions:
contents: read
Expand Down
Loading