mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-11-08 18:23:50 +08:00
Attempt artifact export
This commit is contained in:
@@ -12,6 +12,9 @@ ENV BUILD_CEF 0
|
||||
#(Not required for mp3/mp4 anymore!)
|
||||
ENV GYP_DEFINES ""
|
||||
|
||||
#Type to build: Debug or Release
|
||||
ENV BUILD_TYPE Release
|
||||
|
||||
WORKDIR /builder
|
||||
COPY scripts/run_linux.sh .
|
||||
RUN chmod +x run_linux.sh
|
||||
@@ -19,6 +22,6 @@ RUN ./run_linux.sh
|
||||
|
||||
#Export built files
|
||||
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
|
||||
|
||||
# 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.
|
||||
ninja -j4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user