mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-09-22 23:36:36 +08:00
Attempt artifact export
This commit is contained in:
parent
73529a4195
commit
420c25e236
@ -12,6 +12,9 @@ ENV BUILD_CEF 0
|
|||||||
#(Not required for mp3/mp4 anymore!)
|
#(Not required for mp3/mp4 anymore!)
|
||||||
ENV GYP_DEFINES ""
|
ENV GYP_DEFINES ""
|
||||||
|
|
||||||
|
#Type to build: Debug or Release
|
||||||
|
ENV BUILD_TYPE Release
|
||||||
|
|
||||||
WORKDIR /builder
|
WORKDIR /builder
|
||||||
COPY scripts/run_linux.sh .
|
COPY scripts/run_linux.sh .
|
||||||
RUN chmod +x run_linux.sh
|
RUN chmod +x run_linux.sh
|
||||||
@ -19,6 +22,6 @@ RUN ./run_linux.sh
|
|||||||
|
|
||||||
#Export built files
|
#Export built files
|
||||||
FROM scratch AS export-stage
|
FROM scratch AS export-stage
|
||||||
COPY --from=stage /jcef/jcef_build .
|
COPY --from=stage /jcef/binary_distrib .
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ cd /jcef
|
|||||||
mkdir jcef_build && cd jcef_build
|
mkdir jcef_build && cd jcef_build
|
||||||
|
|
||||||
# Linux: Generate 32/64-bit Unix Makefiles.
|
# Linux: Generate 32/64-bit Unix Makefiles.
|
||||||
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release ..
|
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ..
|
||||||
# Build native part using ninja.
|
# Build native part using ninja.
|
||||||
ninja -j4
|
ninja -j4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user