Add targets to docker image, test pipeline temporarily on PR

This commit is contained in:
Taha Hawa 2025-06-16 10:36:22 -04:00 committed by tahahawa
parent d1423c90c1
commit 700fce6486
2 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,6 @@
name: Compile and package harmony_composer
on:
pull_request:
push:
branches:
- main

View File

@ -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"]