From 4939b3f87ebf9a171e88ed80adf526c997f42a4d Mon Sep 17 00:00:00 2001 From: Dany LE Date: Wed, 17 Jul 2024 10:23:28 +0200 Subject: [PATCH] Create build-bin.yml --- .gitea/workflows/build-bin.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflows/build-bin.yml diff --git a/.gitea/workflows/build-bin.yml b/.gitea/workflows/build-bin.yml new file mode 100644 index 0000000..839f105 --- /dev/null +++ b/.gitea/workflows/build-bin.yml @@ -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 }}."