Skip to content

Master mergeback

Master mergeback #4729

name: Build binaries (aarch64)
on:
workflow_dispatch:
inputs:
profile:
description: 'Profile (unused right now)'
required: true
default: 'debug'
push:
branches:
- master
- deposits
- release/*
- '**/all-tests'
- '**/master'
pull_request:
branches:
- master
- deposits
- release/*
- '**/master'
env:
rust_stable: 1.81.0
jobs:
build:
name: Build binaries (aarch64)
env:
RUSTFLAGS: "-C link-arg=-s"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Rust ${{ env.rust_stable }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.rust_stable }}
target: aarch64-unknown-linux-musl
override: true
- name: Build binaries
uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: >
-p yagna
-p ya-exe-unit
-p ya-provider
-p golemsp
-p gftp
--release
--features static-openssl
--target aarch64-unknown-linux-musl
- name: Copy binaries
shell: bash
run: |
mkdir build
cp target/aarch64-unknown-linux-musl/release/{yagna,ya-provider,exe-unit,golemsp,gftp} build
- name: Upload binaries
uses: actions/upload-artifact@v4
with:
name: Yagna linux-aarch64
path: build