ci: docker_tag=ext | revert reference-types; compile wasm without externref requirements
Some checks failed
Build and Push Docker image (ext) / docker (push) Failing after 3m37s
Some checks failed
Build and Push Docker image (ext) / docker (push) Failing after 3m37s
This commit is contained in:
parent
2dda47534b
commit
70f3a30f64
@ -35,14 +35,12 @@ RUN --mount=type=ssh git clone -b dev ssh://git@git.4nkweb.com/4nk/sdk_client.gi
|
|||||||
|
|
||||||
# Build du WebAssembly (cargo) + wasm-bindgen
|
# Build du WebAssembly (cargo) + wasm-bindgen
|
||||||
WORKDIR /build/sdk_client
|
WORKDIR /build/sdk_client
|
||||||
# Activer les reference-types au moment de la compilation et de la génération JS
|
# Build standard sans reference-types (compatibilité wasm-bindgen)
|
||||||
ENV RUSTFLAGS="-C target-feature=+reference-types"
|
|
||||||
RUN --mount=type=ssh cargo build --target wasm32-unknown-unknown --profile dev && \
|
RUN --mount=type=ssh cargo build --target wasm32-unknown-unknown --profile dev && \
|
||||||
wasm-bindgen target/wasm32-unknown-unknown/debug/sdk_client.wasm \
|
wasm-bindgen target/wasm32-unknown-unknown/debug/sdk_client.wasm \
|
||||||
--out-dir /build/ihm_client/pkg \
|
--out-dir /build/ihm_client/pkg \
|
||||||
--typescript \
|
--typescript \
|
||||||
--target bundler \
|
--target bundler \
|
||||||
--reference-types \
|
|
||||||
--debug
|
--debug
|
||||||
|
|
||||||
FROM node:20-alpine
|
FROM node:20-alpine
|
||||||
|
Loading…
x
Reference in New Issue
Block a user