Skip to content

Commit

Permalink
ci(actions): package for aarch64 and armv7
Browse files Browse the repository at this point in the history
  • Loading branch information
xrelkd committed Jan 23, 2024
1 parent 91a890c commit d09ca10
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ env:
MAINTAINER: "xrelkd <46590321+xrelkd@users.noreply.github.com>"
PACKAGE_NAME: "clipcat"
PACKAGE_DESCRIPTION: "Clipboard manager written in Rust Programming Language"
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER: aarch64-linux-gnu-gcc
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc

jobs:
all:
Expand All @@ -24,9 +26,16 @@ jobs:
strategy:
matrix:
target:
- aarch64-unknown-linux-musl
- x86_64-unknown-linux-musl

include:
- target: aarch64-unknown-linux-musl
arch_deb: arm64
arch_rpm: aarch64
os: ubuntu-latest
target_rustflags: "--codegen linker=aarch64-linux-gnu-gcc"

- target: x86_64-unknown-linux-musl
arch_deb: amd64
arch_rpm: x86_64
Expand All @@ -50,6 +59,12 @@ jobs:
target: ${{ matrix.target }}
toolchain: stable

- name: Install AArch64 Toolchain
if: ${{ matrix.target == 'aarch64-unknown-linux-musl' }}
run: |
sudo apt update
sudo apt install -y gcc-aarch64-linux-gnu
- name: Create Package
id: package
env:
Expand Down

0 comments on commit d09ca10

Please sign in to comment.