Files
atuin-mirror/.github/workflows/installer.yml
Ellie Huxtable 7ef4aefa97 ci: build x86_64-apple-darwin on Depot M4 macs; move all macOS CI to Depot (#3742)
Adds x86_64 mac back to releases and gets us off GitHub's slow mac
runners entirely.

- Add `x86_64-apple-darwin` to the dist release targets, cross-compiled
on `depot-macos-26` (M4, 8 CPU) alongside the native aarch64 build.
Depot runner names don't encode the host arch, so the config uses dist's
`runner`/`host` table form.
- Move the `rust.yml` and `installer.yml` macOS jobs from `macos-14` to
`depot-macos-26`.

**TEMP, revert before merge:** `pr-run-mode = "upload"` so this PR runs
the full artifact builds to prove the mac cross-compile works.

Verified locally: `cargo check --release --target x86_64-apple-darwin`
passes for the whole workspace on an arm64 mac.
2026-07-24 17:16:59 -07:00

39 lines
931 B
YAML

name: Install
on:
push:
branches: [main]
pull_request:
paths: .github/workflows/installer.yml
env:
CARGO_TERM_COLOR: always
jobs:
install:
strategy:
matrix:
os: [depot-ubuntu-24.04, depot-macos-26]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
- name: Install zsh for ubuntu
if: matrix.os == 'depot-ubuntu-24.04'
run: |
sudo apt install zsh
- name: Test install script on bash
run: |
/bin/bash -c "$(curl --proto '=https' --tlsv1.2 -sSf https://setup.atuin.sh)"
[ -d "$HOME/.atuin" ] && source $HOME/.atuin/bin/env
atuin --help
- name: Test install script on zsh
shell: zsh {0}
run: |
/bin/bash -c "$(curl --proto '=https' --tlsv1.2 -sSf https://setup.atuin.sh)"
[ -d "$HOME/.atuin" ] && source $HOME/.atuin/bin/env
atuin --help