|
@@ -45,6 +45,8 @@ env:
|
|
|
CHECK_DIST_MANIFEST: true
|
|
|
IS_GHA_RELEASE: true
|
|
|
ELECTRON_OUT_DIR: Default
|
|
|
+ # MKSNAPSHOT_TOOLCHAIN: //build/toolchain/linux:clang_arm64
|
|
|
+ # BUILD_NATIVE_MKSNAPSHOT: 1
|
|
|
|
|
|
jobs:
|
|
|
checkout:
|
|
@@ -226,15 +228,21 @@ jobs:
|
|
|
run: |
|
|
|
cd src
|
|
|
if [ "${{ matrix.build-arch }}" = "arm" ]; then
|
|
|
- MKSNAPSHOT_PATH="clang_x86_v8_arm"
|
|
|
- elif [ "${{ matrix.build-arch }}" = "arm64" ]; then
|
|
|
- MKSNAPSHOT_PATH="clang_x64_v8_arm64"
|
|
|
+ echo "MKSNAPSHOT_PATH is clang_x86_v8_arm"
|
|
|
+ MKSNAPSHOT_PATH="clang_x86_v8_arm"
|
|
|
+ elif [ "${{ matrix.build-arch }}" = "arm64" ]; then
|
|
|
+ MKSNAPSHOT_PATH="clang_x64_v8_arm64"
|
|
|
+ echo "MKSNAPSHOT_PATH is clang_x64_v8_arm64"
|
|
|
fi
|
|
|
-
|
|
|
+
|
|
|
+ echo "copying out/Default/$MKSNAPSHOT_PATH/mksnapshot"
|
|
|
cp "out/Default/$MKSNAPSHOT_PATH/mksnapshot" out/Default
|
|
|
+ echo "copying out/Default/$MKSNAPSHOT_PATH/v8_context_snapshot_generator"
|
|
|
cp "out/Default/$MKSNAPSHOT_PATH/v8_context_snapshot_generator" out/Default
|
|
|
+ echo "copying out/Default/$MKSNAPSHOT_PATH/libffmpeg.so"
|
|
|
cp "out/Default/$MKSNAPSHOT_PATH/libffmpeg.so" out/Default
|
|
|
-
|
|
|
+
|
|
|
+ echo "About to run verify-mksnapshot.py"
|
|
|
python3 electron/script/verify-mksnapshot.py --source-root "$PWD" --build-dir out/Default --create-snapshot-only
|
|
|
mkdir cross-arch-snapshots
|
|
|
cp out/Default-mksnapshot-test/*.bin cross-arch-snapshots
|