From 700fce648606741fe2eaa1577bbed6e4a952c408 Mon Sep 17 00:00:00 2001 From: Taha Hawa Date: Mon, 16 Jun 2025 10:36:22 -0400 Subject: [PATCH] Add targets to docker image, test pipeline temporarily on PR --- .gitea/workflows/harmony_composer.yaml | 1 + Dockerfile | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.gitea/workflows/harmony_composer.yaml b/.gitea/workflows/harmony_composer.yaml index ae85e24..de9668c 100644 --- a/.gitea/workflows/harmony_composer.yaml +++ b/.gitea/workflows/harmony_composer.yaml @@ -1,5 +1,6 @@ name: Compile and package harmony_composer on: + pull_request: push: branches: - main diff --git a/Dockerfile b/Dockerfile index a938407..3228365 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,16 @@ FROM docker.io/rust:1.87.0 WORKDIR /app +RUN apt update + +RUN rustup target add x86_64-unknown-linux-gnu + +RUN apt install -y mingw-w64 +RUN rustup target add x86_64-pc-windows-gnu + +RUN apt install -y gcc-aarch64-linux-gnu +RUN rustup target add aarch64-unknown-linux-gnu + COPY --from=build /app/target/release/harmony_composer . ENTRYPOINT ["/app/harmony_composer"] \ No newline at end of file