Create build-bin.yml

This commit is contained in:
Dany LE 2024-07-17 10:23:28 +02:00 committed by Dany LE
parent 57b85337c3
commit cc91f2c8d1

View File

@ -0,0 +1,23 @@
name: Building AntOS binaries
on:
workflow_call:
inputs:
platform:
required: true
type: string
jobs:
build:
runs-on: ci-tools
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Building binaries for platform: ${{ inputs.platform }}
run: |
mkdir build
DESTDIR=$(realpath build) \
ARCH=${{ inputs.platform }} \
RUSTUP_HOME=/opt/rust/rustup \
CARGO_HOME=/opt/rust/cargo \
make all deb appimg
- run: echo "Build is ${{ job.status }}."