Tidied up CI
This commit is contained in:
parent
c72247fab6
commit
9e34cb495a
4 changed files with 3 additions and 45 deletions
|
|
@ -38,7 +38,7 @@ build:
|
|||
- mkdir -p "release-builds"
|
||||
# Build electron app
|
||||
- npm run build:app
|
||||
- if [ "$CI_COMMIT_REF_NAME" == "stable" ]; then npm run release; else npm run release:pre; fi
|
||||
- npm run release
|
||||
|
||||
artifacts:
|
||||
name: "dist"
|
||||
|
|
@ -52,9 +52,9 @@ build:
|
|||
|
||||
only:
|
||||
- merge_requests
|
||||
- stable
|
||||
- master
|
||||
- web
|
||||
- tags
|
||||
|
||||
|
||||
# Deploy to builds.openflexure.org
|
||||
|
|
@ -82,4 +82,4 @@ deploy:
|
|||
- ssh -t ci-user@openflexure.bath.ac.uk "/var/www/build/update-latest.py"
|
||||
|
||||
only:
|
||||
- stable
|
||||
- tags
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
extends: app/builder-config-base.yaml
|
||||
artifactName: ${name}-${os}-${arch}.${ext}
|
||||
linux:
|
||||
target:
|
||||
- target: deb
|
||||
arch:
|
||||
- armv7l
|
||||
- target: appImage
|
||||
arch:
|
||||
- armv7l
|
||||
icon: app/icons/png/
|
||||
category: Science
|
||||
deb:
|
||||
fpm: ['--architecture', 'armhf']
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
extends: app/builder-config-base.yaml
|
||||
artifactName: ${name}-${os}-${arch}.${ext}
|
||||
win:
|
||||
target:
|
||||
- NSIS
|
||||
icon: app/icons/win/icon.ico
|
||||
linux:
|
||||
target:
|
||||
- target: deb
|
||||
arch:
|
||||
- x64
|
||||
- target: appImage
|
||||
arch:
|
||||
- x64
|
||||
icon: app/icons/png/
|
||||
category: Science
|
||||
mac:
|
||||
icon: app/icons/mac/icon.icns
|
||||
category: public.app-category.utilities
|
||||
dmg:
|
||||
contents:
|
||||
- x: 110
|
||||
y: 150
|
||||
- x: 240
|
||||
y: 150
|
||||
type: link
|
||||
path: /Applications
|
||||
|
|
@ -21,7 +21,6 @@
|
|||
"dist:dmg": "electron-builder --mac --config app/builder-config-x86_64.yaml",
|
||||
"dist:appx": "electron-builder --win --config app/builder-config-appx.yaml",
|
||||
"release": "electron-builder --linux --config app/builder-config-raspi.yaml & electron-builder --win --linux --config app/builder-config-x86_64.yaml",
|
||||
"release:pre": "electron-builder --linux --config app/builder-config-raspi-pre.yaml & electron-builder --win --linux --config app/builder-config-x86_64-pre.yaml",
|
||||
"make-icons": "electron-icon-builder --input=./app/icons/icon_base.png --output=./app/"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue