Skip to content

chore(deps): update rust crate crossterm to 0.28.1 #108

chore(deps): update rust crate crossterm to 0.28.1

chore(deps): update rust crate crossterm to 0.28.1 #108

Workflow file for this run

name: Build
on:
workflow_call:
push:
branches: [main]
tags-ignore:
- "**"
pull_request:
branches: [main]
jobs:
build:
strategy:
fail-fast: false
matrix:
target:
- "x86_64-unknown-linux-musl"
- "aarch64-unknown-linux-musl"
- "x86_64-pc-windows-msvc"
- "x86_64-apple-darwin"
- "aarch64-apple-darwin"
include:
- target: "x86_64-unknown-linux-musl"
runner: ubuntu-latest
- target: "aarch64-unknown-linux-musl"
runner: ubuntu-latest
- target: "x86_64-pc-windows-msvc"
runner: windows-latest
- target: "x86_64-apple-darwin"
runner: macos-latest
- target: "aarch64-apple-darwin"
runner: macos-latest
runs-on: ${{ matrix.runner }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: ${{ matrix.target }}
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
- name: Build
id: build
shell: bash
run: ./scripts/build.sh
env:
TARGET: ${{ matrix.target }}
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: kittysay-${{ matrix.target }}
path: ${{ steps.build.outputs.path }}