mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-11-28 10:59:20 +08:00
Compare commits
18 Commits
1.0.48
...
test-flyci
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c48f8b02bd | ||
|
|
243ac9c37d | ||
|
|
af60c79e48 | ||
|
|
39359a893e | ||
|
|
e4f8565721 | ||
|
|
be672489ad | ||
|
|
ff5fc9020a | ||
|
|
64bb73c837 | ||
|
|
47ff1bd3ea | ||
|
|
e9aeb06788 | ||
|
|
cf017d26fe | ||
|
|
3c775d3765 | ||
|
|
1a11a80d67 | ||
|
|
4cea794a99 | ||
|
|
5b834e3e56 | ||
|
|
93c173340a | ||
|
|
0bf27250e3 | ||
|
|
b6c0abdd15 |
8
.github/workflows/build-macosx-amd64.yml
vendored
8
.github/workflows/build-macosx-amd64.yml
vendored
@@ -14,7 +14,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-macosx-amd64:
|
build-macosx-amd64:
|
||||||
runs-on: macos-12
|
runs-on: flyci-macos-large-latest-m1
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
- name: Set up Java
|
- name: Set up Java
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '8'
|
java-version: '11'
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
- name: Install Apple certificate
|
- name: Install Apple certificate
|
||||||
env:
|
env:
|
||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
|
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
|
||||||
|
|
||||||
# import certificate from secrets
|
# 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
|
# create temporary keychain
|
||||||
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
|
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
|
|
||||||
# import api key from secrets
|
# import api key from secrets
|
||||||
mkdir "${HOME}/private_keys"
|
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
|
name: Build
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ RUN ./run_linux.sh
|
|||||||
#Export built files
|
#Export built files
|
||||||
FROM scratch AS export-stage
|
FROM scratch AS export-stage
|
||||||
COPY --from=stage /jcef/binary_distrib.tar.gz .
|
COPY --from=stage /jcef/binary_distrib.tar.gz .
|
||||||
COPY --from=stage /jcef/target target
|
#COPY --from=stage /jcef/target target
|
||||||
COPY --from=stage /jcef/third_party third_party
|
#COPY --from=stage /jcef/third_party third_party
|
||||||
COPY --from=stage /jcef/buildtools buildtools
|
#COPY --from=stage /jcef/buildtools buildtools
|
||||||
COPY --from=stage /jcef/jcef_build jcef_build
|
#COPY --from=stage /jcef/jcef_build jcef_build
|
||||||
|
|||||||
@@ -70,9 +70,13 @@ if [ -f "out/buildtools/clang-format" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#Move jcef_build
|
#Move jcef_build
|
||||||
rm -rf jcef/jcef_build
|
if [ -f "out/jcef_build" ]; then
|
||||||
mv out/jcef_build jcef/jcef_build
|
rm -rf jcef/jcef_build
|
||||||
|
mv out/jcef_build jcef/jcef_build
|
||||||
|
fi
|
||||||
|
|
||||||
#Move target to binary_distrib
|
#Move target to binary_distrib
|
||||||
rm -rf jcef/binary_distrib
|
if [ -f "out/target" ]; then
|
||||||
mv out/target jcef/binary_distrib
|
rm -rf jcef/binary_distrib
|
||||||
|
mv out/target jcef/binary_distrib
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user