antos/.gitea/workflows/build-bin.yml

24 lines
627 B
YAML
Raw Normal View History

2024-07-17 10:23:28 +02:00
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
2024-07-17 10:34:05 +02:00
- name: Building binaries for platform - ${{ inputs.platform }}
2024-07-17 10:23:28 +02:00
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 }}."