Skip to content

Commit

Permalink
feat(cd): Build release for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
hrkfdn committed Jan 23, 2025
1 parent f1f0e91 commit a3be490
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: CD

on:
push:
branches:
- "hf/arm64"
tags:
- "v*.*.*"

Expand All @@ -23,6 +25,12 @@ jobs:
target: x86_64-unknown-linux-gnu
features: ''
dependencies: 'libpulse-dev libdbus-1-dev libncursesw5-dev libxcb-shape0-dev libxcb-xfixes0-dev'
- build_target: linux-arm64
os: ubuntu-24.04-arm
artifact_suffix: linux-aarch64
target: aarch64-unknown-linux-gnu
features: ''
dependencies: 'libpulse-dev libdbus-1-dev libncursesw5-dev libxcb-shape0-dev libxcb-xfixes0-dev'
- build_target: macos-x86_64
os: macos-latest
target: x86_64-apple-darwin
Expand Down Expand Up @@ -63,7 +71,7 @@ jobs:
~/.cargo/registry/index/
~/.cargo/registry/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-${{ runner.arch }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Running cargo build
run: cargo build --release --target ${{ matrix.target }} ${{ matrix.features }}
- name: Extract git tag
Expand Down

0 comments on commit a3be490

Please sign in to comment.