Compare commits

..

No commits in common. "c43ac46214bc625f129cdb89117cb71b86906369" and "0bbe32f178707f5330ad0801ce66af97bb5d8167" have entirely different histories.

4 changed files with 18 additions and 10 deletions

View File

@ -3,9 +3,9 @@ name: Build and publish container images
on:
workflow_dispatch: { }
push:
branches:
- master
# push:
# branches:
# - master
jobs:
build-and-publish:

View File

@ -3,9 +3,9 @@ name: Build container images
on:
workflow_dispatch: { }
# push:
# branches:
# - master
push:
branches:
- master
jobs:
build:

View File

@ -1,12 +1,12 @@
ARG NODE_VERSION=20
ARG RUST_TOOLCHAIN=""
FROM node:${NODE_VERSION}
ENV CARGO_HOME=/usr/local/cargo
ENV RUSTUP_HOME=/usr/local/rustup
ENV PATH=/usr/local/cargo/bin:$PATH
ENV PKG_CONFIG_SYSROOT_DIR=/
RUN apt update && apt upgrade -y
RUN apt install -y g++-mingw-w64-x86-64 \
@ -22,3 +22,13 @@ ENV CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc \
ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc \
CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc \
CXX_aarch64_unknown_linux_gnu=aarch64-linux-gnu-g++
RUN if test "${RUST_TOOLCHAIN}x" != "x" ; \
then rustup toolchain install $RUST_TOOLCHAIN ; \
fi
RUN rustup target add x86_64-pc-windows-gnu
RUN rustup target add x86_64-unknown-linux-gnu
RUN rustup target add armv7-unknown-linux-gnueabihf
RUN rustup target add aarch64-unknown-linux-gnu
RUN rustup target add wasm32-unknown-unknown

View File

@ -33,7 +33,5 @@ jobs:
uses: actions/checkout@v3
- name: Build
run: |
rustup target add ${{ matrix.rust-target }}
cargo build --target ${{ matrix.rust-target }}
run: cargo build --target ${{ matrix.rust-target }}
```