mirror of
https://github.com/antos-rde/antos.git
synced 2024-11-12 16:38:26 +01:00
Create build-bin.yml
This commit is contained in:
parent
57b85337c3
commit
cc91f2c8d1
23
.gitea/workflows/build-bin.yml
Normal file
23
.gitea/workflows/build-bin.yml
Normal 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 }}."
|
Loading…
Reference in New Issue
Block a user