mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-11-28 02:49:22 +08:00
Compare commits
19 Commits
1.0.47
...
test-flyci
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c48f8b02bd | ||
|
|
243ac9c37d | ||
|
|
af60c79e48 | ||
|
|
39359a893e | ||
|
|
e4f8565721 | ||
|
|
be672489ad | ||
|
|
ff5fc9020a | ||
|
|
64bb73c837 | ||
|
|
47ff1bd3ea | ||
|
|
e9aeb06788 | ||
|
|
cf017d26fe | ||
|
|
3c775d3765 | ||
|
|
1a11a80d67 | ||
|
|
4cea794a99 | ||
|
|
5b834e3e56 | ||
|
|
93c173340a | ||
|
|
0bf27250e3 | ||
|
|
b6c0abdd15 | ||
|
|
a88915018e |
8
.github/workflows/build-macosx-amd64.yml
vendored
8
.github/workflows/build-macosx-amd64.yml
vendored
@@ -14,7 +14,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build-macosx-amd64:
|
||||
runs-on: macos-12
|
||||
runs-on: flyci-macos-large-latest-m1
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
-
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
- name: Set up Java
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '8'
|
||||
java-version: '11'
|
||||
distribution: 'adopt'
|
||||
- name: Install Apple certificate
|
||||
env:
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
|
||||
|
||||
# import certificate from secrets
|
||||
echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode --output $CERTIFICATE_PATH
|
||||
echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH
|
||||
|
||||
# create temporary keychain
|
||||
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
|
||||
@@ -53,7 +53,7 @@ jobs:
|
||||
|
||||
# import api key from secrets
|
||||
mkdir "${HOME}/private_keys"
|
||||
echo -n "$APPLE_API_KEY_BASE64" | base64 --decode --output "${HOME}/private_keys/AuthKey_$APPLE_API_KEY_NAME.p8"
|
||||
echo -n "$APPLE_API_KEY_BASE64" | base64 --decode -o "${HOME}/private_keys/AuthKey_$APPLE_API_KEY_NAME.p8"
|
||||
-
|
||||
name: Build
|
||||
run: |
|
||||
|
||||
@@ -32,7 +32,7 @@ RUN ./run_linux.sh
|
||||
#Export built files
|
||||
FROM scratch AS export-stage
|
||||
COPY --from=stage /jcef/binary_distrib.tar.gz .
|
||||
COPY --from=stage /jcef/target target
|
||||
COPY --from=stage /jcef/third_party third_party
|
||||
COPY --from=stage /jcef/buildtools buildtools
|
||||
COPY --from=stage /jcef/jcef_build jcef_build
|
||||
#COPY --from=stage /jcef/target target
|
||||
#COPY --from=stage /jcef/third_party third_party
|
||||
#COPY --from=stage /jcef/buildtools buildtools
|
||||
#COPY --from=stage /jcef/jcef_build jcef_build
|
||||
|
||||
@@ -70,9 +70,13 @@ if [ -f "out/buildtools/clang-format" ]; then
|
||||
fi
|
||||
|
||||
#Move jcef_build
|
||||
rm -rf jcef/jcef_build
|
||||
mv out/jcef_build jcef/jcef_build
|
||||
if [ -f "out/jcef_build" ]; then
|
||||
rm -rf jcef/jcef_build
|
||||
mv out/jcef_build jcef/jcef_build
|
||||
fi
|
||||
|
||||
#Move target to binary_distrib
|
||||
rm -rf jcef/binary_distrib
|
||||
mv out/target jcef/binary_distrib
|
||||
if [ -f "out/target" ]; then
|
||||
rm -rf jcef/binary_distrib
|
||||
mv out/target jcef/binary_distrib
|
||||
fi
|
||||
|
||||
@@ -36,6 +36,8 @@ codesign --force --options runtime --entitlements "$ENTITLEMENTS_HELPER" --sign
|
||||
bash macosx_notarize.sh "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (Plugin).app" "$2" $3 org.jcef.jcef.helper.plugin $4 $5 $6
|
||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_HELPER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (Renderer).app"
|
||||
bash macosx_notarize.sh "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (Renderer).app" "$2" $3 org.jcef.jcef.helper.renderer $4 $5 $6
|
||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_HELPER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (Alerts).app"
|
||||
bash macosx_notarize.sh "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (Alerts).app" "$2" $3 org.jcef.jcef.helper.alerts $4 $5 $6
|
||||
|
||||
#Sign libraries and framework
|
||||
echo "Signing libraries and framework..."
|
||||
@@ -51,6 +53,7 @@ bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/jogl-all-natives-m
|
||||
bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/jogl-all-natives-macosx-universal.jar" "natives/macosx-universal/libjogl_mobile.dylib" "$2"
|
||||
bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/jogl-all-natives-macosx-universal.jar" "natives/macosx-universal/libnewt_head.dylib" "$2"
|
||||
bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/jogl-all-natives-macosx-universal.jar" "natives/macosx-universal/libjogl_desktop.dylib" "$2"
|
||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/Contents/MacOS/JavaAppLauncher"
|
||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME"
|
||||
bash macosx_notarize.sh "$APP_DIR/$APP_NAME" "$2" $3 org.jcef.jcef $4 $5 $6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user