Skip to content

fix: arm auto-switch only for devices the user dragged #95

fix: arm auto-switch only for devices the user dragged

fix: arm auto-switch only for devices the user dragged #95

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths-ignore:
- "site/**"
- "**.md"
- ".github/workflows/site.yml"
pull_request:
paths-ignore:
- "site/**"
- "**.md"
- ".github/workflows/site.yml"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
runs-on: macos-26
env:
# Pin the toolchain — the image's default Xcode drifts with updates.
DEVELOPER_DIR: /Applications/Xcode_26.4.app
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install pinned tools
run: ./scripts/install-ci-tools.sh
- name: Generate project
run: xcodegen generate
# Hook environments (go/node builds) are expensive on macOS runners.
- name: Cache pre-commit environments
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
# The same suite developers run locally; swiftformat/swiftlint binaries
# come sha-verified from install-ci-tools.sh.
- name: Lint
run: |
pipx install pre-commit==4.6.0
pre-commit run --all-files --show-diff-on-failure
- name: Build and test
# Keep in sync with `make test` (Makefile).
run: |
xcodebuild -project Fader.xcodeproj -scheme Fader -configuration Debug \
CODE_SIGNING_ALLOWED=NO -derivedDataPath build test