mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 10:03:28 +07:00
Pipeline for cross platform build.
This commit is contained in:
parent
231e0666ce
commit
d07351632f
@ -1,8 +1,8 @@
|
|||||||
stages:
|
stages:
|
||||||
- check
|
|
||||||
- install
|
- install
|
||||||
- package
|
- package
|
||||||
- installer
|
- installer
|
||||||
|
- check
|
||||||
|
|
||||||
dependency_scanning:
|
dependency_scanning:
|
||||||
stage: check
|
stage: check
|
||||||
@ -47,7 +47,21 @@ win32:
|
|||||||
tags: [ docker ]
|
tags: [ docker ]
|
||||||
image: electronuserland/builder:wine-mono
|
image: electronuserland/builder:wine-mono
|
||||||
script:
|
script:
|
||||||
- npm run-script package
|
- npm run-script package-win32
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- release-builds/
|
||||||
|
dependencies:
|
||||||
|
- node
|
||||||
|
|
||||||
|
linux:
|
||||||
|
only:
|
||||||
|
- tags@le.storm1er/ryzen-controller
|
||||||
|
stage: package
|
||||||
|
tags: [ docker ]
|
||||||
|
image: electronuserland/builder:wine-mono
|
||||||
|
script:
|
||||||
|
- npm run-script package-linux
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- release-builds/
|
- release-builds/
|
||||||
@ -61,10 +75,48 @@ win32-installer:
|
|||||||
tags: [ docker ]
|
tags: [ docker ]
|
||||||
image: electronuserland/builder:wine-mono
|
image: electronuserland/builder:wine-mono
|
||||||
script:
|
script:
|
||||||
- npm run-script build
|
- npm run-script build-win32
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- installer-builds/
|
- installer-builds/
|
||||||
dependencies:
|
dependencies:
|
||||||
- node
|
- node
|
||||||
- win32
|
- win32
|
||||||
|
|
||||||
|
deb-installer:
|
||||||
|
only:
|
||||||
|
- tags@le.storm1er/ryzen-controller
|
||||||
|
stage: installer
|
||||||
|
tags: [ docker ]
|
||||||
|
image: debian:stretch
|
||||||
|
before_script:
|
||||||
|
- apt update -y
|
||||||
|
- apt install fakeroot curl -y
|
||||||
|
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
|
||||||
|
- export NVM_DIR="$HOME/.nvm"
|
||||||
|
- '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"'
|
||||||
|
- nvm install 10.15.1
|
||||||
|
- nvm use 10.15.1
|
||||||
|
script:
|
||||||
|
- npm run-script build-deb
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- installer-builds/
|
||||||
|
dependencies:
|
||||||
|
- node
|
||||||
|
- linux
|
||||||
|
|
||||||
|
rpm-installer:
|
||||||
|
only:
|
||||||
|
- tags@le.storm1er/ryzen-controller
|
||||||
|
stage: installer
|
||||||
|
tags: [ docker ]
|
||||||
|
image: electronuserland/builder:wine-mono
|
||||||
|
script:
|
||||||
|
- npm run-script build-rpm
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- installer-builds/
|
||||||
|
dependencies:
|
||||||
|
- node
|
||||||
|
- linux
|
||||||
|
Loading…
Reference in New Issue
Block a user