Skip to content

docs: sync design/reference docs with current auth and tmux behavior #11

docs: sync design/reference docs with current auth and tmux behavior

docs: sync design/reference docs with current auth and tmux behavior #11

Workflow file for this run

name: release
on:
pull_request:
push:
branches:
- "**"
tags:
- "v*"
workflow_dispatch:
jobs:
validate:
name: validate (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run make check
# `make check` runs fmt/clippy/core tests only.
# Opt-in suites (`make test-model-regression`, `make test-ui-regression`)
# are intentionally excluded from CI.
run: make check
- name: Run installer smoke test
run: make test-installer-smoke
release-artifacts:
name: release artifacts (${{ matrix.os }}-${{ matrix.arch }})
if: startsWith(github.ref, 'refs/tags/v')
needs: validate
runs-on: ${{ matrix.runs_on }}
strategy:
fail-fast: false
matrix:
include:
- os: linux
arch: amd64
runs_on: ubuntu-24.04
target: x86_64-unknown-linux-gnu
- os: linux
arch: arm64
runs_on: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
- os: macos
arch: amd64
runs_on: macos-14
target: x86_64-apple-darwin
- os: macos
arch: arm64
runs_on: macos-14
target: aarch64-apple-darwin
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- name: Build release artifact
run: make release-artifacts BUILD_TARGET=${{ matrix.target }}
- name: Upload release artifact
uses: actions/upload-artifact@v4
with:
name: buddy-${{ matrix.os }}-${{ matrix.arch }}
path: dist/*
if-no-files-found: error
publish-release:
name: publish github release
if: startsWith(github.ref, 'refs/tags/v')
needs: release-artifacts
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download built artifacts
uses: actions/download-artifact@v4
with:
path: dist
- name: Publish release assets
uses: softprops/action-gh-release@v2
with:
files: dist/**/*