Build and Release Firmware / firmware (ak4490) (push) Successful in 17s
Build and Release Firmware / firmware (cs4398) (push) Successful in 16s
Build and Release Firmware / firmware (evk) (push) Successful in 16s
Build and Release Firmware / cli (aarch64-unknown-linux-musl) (push) Failing after 51s
Build and Release Firmware / cli (universal2-apple-darwin) (push) Failing after 9s
Build and Release Firmware / cli (x86_64-pc-windows-gnu) (push) Failing after 9s
Build and Release Firmware / cli (x86_64-unknown-linux-musl) (push) Failing after 9s
Build and Release Firmware / release (push) Skipped
22 lines
752 B
Docker
22 lines
752 B
Docker
FROM ghcr.io/rust-cross/cargo-zigbuild:latest
|
|
|
|
# The image ships the toolchain, zig, a macOS SDK and cargo-zigbuild, but not the bits the build and
|
|
# packaging scripts need.
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends ca-certificates zip zstd \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install every target up front so building needs no network access. `universal2-apple-darwin` is
|
|
# not a rustc target: cargo-zigbuild builds both architectures and merges them.
|
|
RUN rustup target install \
|
|
aarch64-unknown-linux-musl \
|
|
x86_64-unknown-linux-musl \
|
|
x86_64-pc-windows-gnu \
|
|
aarch64-apple-darwin \
|
|
x86_64-apple-darwin
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|