Create build-bin.yml

This commit is contained in:
Dany LE 2024-07-17 10:23:28 +02:00 committed by GitHub
parent 81c27cf833
commit 4939b3f87e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 }}."