mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-12 22:50:54 +03:00
Pick up CI from the environment
This commit is contained in:
parent
ed47bf7fd5
commit
96e563555c
@ -28,7 +28,7 @@ install:
|
||||
- nvm install $NODE_VERSION
|
||||
- nvm use --delete-prefix $NODE_VERSION
|
||||
- npm install --global npm@6.2.0
|
||||
- script/build --ci --create-debian-package --create-rpm-package --compress-artifacts
|
||||
- script/build --create-debian-package --create-rpm-package --compress-artifacts
|
||||
|
||||
script:
|
||||
- script/lint
|
||||
|
@ -48,18 +48,18 @@ build_script:
|
||||
- IF [%TASK%]==[installer] (
|
||||
IF [%IS_RELEASE_BRANCH%]==[true] (
|
||||
ECHO Building on release branch - Creating production artifacts &&
|
||||
script\build.cmd --ci --code-sign --compress-artifacts --create-windows-installer
|
||||
script\build.cmd --code-sign --compress-artifacts --create-windows-installer
|
||||
) ELSE (
|
||||
IF [%IS_SIGNED_ZIP_BRANCH%]==[true] (
|
||||
ECHO Building on %APPVEYOR_REPO_BRANCH% branch - Creating signed zips &&
|
||||
script\build.cmd --ci --code-sign --compress-artifacts
|
||||
script\build.cmd --code-sign --compress-artifacts
|
||||
) ELSE (
|
||||
ECHO Skipping installer build for non-release/non-master branch
|
||||
)
|
||||
)
|
||||
) ELSE (
|
||||
ECHO Test build only - Not creating artifacts &&
|
||||
script\build.cmd --ci
|
||||
script\build.cmd
|
||||
)
|
||||
|
||||
test_script:
|
||||
|
@ -22,7 +22,7 @@ phases:
|
||||
displayName: Install apt dependencies
|
||||
|
||||
- script: |
|
||||
script/build --ci --create-debian-package --create-rpm-package --compress-artifacts
|
||||
script/build --create-debian-package --create-rpm-package --compress-artifacts
|
||||
env:
|
||||
ATOM_RELEASE_VERSION: $(ReleaseVersion)
|
||||
displayName: Build Atom
|
||||
|
@ -20,9 +20,9 @@ phases:
|
||||
|
||||
- script: |
|
||||
if [ $IS_RELEASE_BRANCH == "true" ] || [ $IS_SIGNED_ZIP_BRANCH == "true" ]; then
|
||||
script/build --ci --code-sign --compress-artifacts
|
||||
script/build --code-sign --compress-artifacts
|
||||
else
|
||||
script/build --ci --compress-artifacts
|
||||
script/build --compress-artifacts
|
||||
fi
|
||||
displayName: Build Atom
|
||||
env:
|
||||
|
@ -33,14 +33,14 @@ phases:
|
||||
SET SQUIRREL_TEMP=C:\tmp
|
||||
IF [%IS_RELEASE_BRANCH%]==[true] (
|
||||
ECHO Creating production artifacts for release branch %BUILD_SOURCEBRANCHNAME%
|
||||
script\build.cmd --ci --code-sign --compress-artifacts --create-windows-installer
|
||||
script\build.cmd --code-sign --compress-artifacts --create-windows-installer
|
||||
) ELSE (
|
||||
IF [%IS_SIGNED_ZIP_BRANCH%]==[true] (
|
||||
ECHO Creating signed CI artifacts for branch %BUILD_SOURCEBRANCHNAME%
|
||||
script\build.cmd --ci --code-sign --compress-artifacts
|
||||
script\build.cmd --code-sign --compress-artifacts
|
||||
) ELSE (
|
||||
ECHO Pull request build, no code signing will be performed
|
||||
script\build.cmd --ci --compress-artifacts
|
||||
script\build.cmd --compress-artifacts
|
||||
)
|
||||
)
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user