Merge pull request #2870 from golemfactory/doc/exeunit-directory #3106
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build binaries (aarch64) | |
on: | |
workflow_dispatch: | |
inputs: | |
profile: | |
description: 'Profile (unused right now)' | |
required: true | |
default: 'debug' | |
push: | |
branches: | |
- master | |
- release/* | |
- '**/all-tests' | |
pull_request: | |
branches: | |
- master | |
- release/* | |
env: | |
rust_stable: 1.71.1 | |
jobs: | |
build: | |
name: Build binaries (aarch64) | |
env: | |
RUSTFLAGS: "-C link-arg=-s" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup toolchain | |
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@v1 | |
with: | |
name: Yagna linux-aarch64 | |
path: build |