This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
Update Rust crate relative-path to 1.9.3 #914
Workflow file for this run
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
on: [push] | |
name: 'Build: GNU + Linux (ARM64)' | |
jobs: | |
linux_aarch64: | |
name: GNU + Linux (ARM64) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install build dependencies | |
run: | | |
sudo apt-get update > /dev/null | |
sudo apt-get install -qq gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu build-essential > /dev/null | |
- name: Checkout codebase | |
uses: actions/checkout@v4 | |
- name: Setup Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
target: aarch64-unknown-linux-gnu | |
default: true | |
profile: minimal | |
- name: Build Dokkoo | |
uses: actions-rs/cargo@v1 | |
with: | |
use-cross: false | |
command: build | |
args: --release --all-features --target aarch64-unknown-linux-gnu | |
- name: Prepare Dokkoo for upload | |
run: | | |
cd ./target/aarch64-unknown-linux-gnu/release/ | |
strip -v --strip-all ./libdokkoo.a | |
chmod +x ./dokkoo | |
tar -cvf aarch64-dokkoo.gnu+linux.tar \ | |
dokkoo \ | |
libdokkoo.so \ | |
libdokkoo.a | |
- name: Upload Dokkoo build artifacts to GitHub | |
uses: actions/upload-artifact@v3 | |
with: | |
name: aarch64-dokkoo.gnu+linux | |
path: ./target/aarch64-unknown-linux-gnu/release/aarch64-dokkoo.gnu+linux.tar | |
if-no-files-found: error |