Skip to content

Commit

Permalink
ci: web dockerfile cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Sep 7, 2023
1 parent c070506 commit 7aed8b2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ci/docker/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ENV PATH=/usr/local/bin:$PATH
RUN pacman -Syu --noconfirm git base-devel cmake
RUN pacman -Syu --noconfirm nodejs emscripten
ENV PATH=/usr/lib/emscripten:$PATH
RUN emcc -v

# Add the library src to our build env
FROM env AS devel
Expand All @@ -14,13 +15,9 @@ COPY . .

FROM devel AS build
RUN cmake -version
RUN emcc -v
RUN emcmake cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
RUN cmake --build build --target all -v
#RUN cmake --build build --target install -v

FROM build AS test
#RUN cmake --build build --target test -v
#RUN CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test
RUN cd build && ctest -V
RUN node build/bin/example.js

0 comments on commit 7aed8b2

Please sign in to comment.