Merge pull request #8105 from electron/ci-build-scripts
Add Linux CI builds scripts
This commit is contained in:
commit
bca7a6baa9
4 changed files with 38 additions and 0 deletions
5
script/cibuild-electron-linux-arm
Executable file
5
script/cibuild-electron-linux-arm
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
export TARGET_ARCH=arm
|
||||
|
||||
script/cibuild-linux
|
5
script/cibuild-electron-linux-ia32
Executable file
5
script/cibuild-electron-linux-ia32
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
export TARGET_ARCH=ia32
|
||||
|
||||
script/cibuild-linux
|
5
script/cibuild-electron-linux-x64
Executable file
5
script/cibuild-electron-linux-x64
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
export TARGET_ARCH=x64
|
||||
|
||||
script/cibuild-linux
|
23
script/cibuild-linux
Executable file
23
script/cibuild-linux
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
MESSAGE="$(git log --format=%B -n 1 HEAD)"
|
||||
case ${MESSAGE} in
|
||||
Bump* ) export ELECTRON_RELEASE=1 ;;
|
||||
esac
|
||||
|
||||
set +x
|
||||
|
||||
export ELECTRON_GITHUB_TOKEN="$BUILD_ELECTRON_ELECTRON_GITHUB_TOKEN"
|
||||
export ELECTRON_S3_BUCKET="$BUILD_ELECTRON_ELECTRON_S3_BUCKET"
|
||||
export ELECTRON_S3_ACCESS_KEY="$BUILD_ELECTRON_ELECTRON_S3_ACCESS_KEY"
|
||||
export ELECTRON_S3_SECRET_KEY="$BUILD_ELECTRON_ELECTRON_S3_SECRET_KEY"
|
||||
|
||||
if [[ -z "${ELECTRON_RELEASE}" ]]; then
|
||||
echo "Generating Linux $TARGET_ARCH debug build"
|
||||
else
|
||||
echo "Generating Linux $TARGET_ARCH release build"
|
||||
fi
|
||||
|
||||
set -x
|
||||
|
||||
script/cibuild
|
Loading…
Reference in a new issue