1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-08-09 18:52:50 +00:00
fcast/receivers/electron/.gitlab-ci.yml
2024-10-18 13:01:33 -05:00

38 lines
No EOL
885 B
YAML

buildMac:
stage: buildAndDeployElectron
tags:
- m1-macos
before_script:
- cd receivers/electron
script:
- npm install
- npm run build
- npm run make -- --platform="darwin" --arch="arm64"
- npm run make -- --platform="darwin" --arch="x64"
when: manual
buildLinux:
image: node:latest
stage: buildAndDeployElectron
tags:
- fcast
before_script:
- cd receivers/electron
- apt update && apt install -y wine rpm p7zip-full unzip
- export WINEPATH="/root/wix314-binaries/"
script:
- npm install
- npm run build
- npm run make -- --platform="win32" --arch="x64"
- npm run make -- --platform="linux" --arch="x64"
- npm run make -- --platform="linux" --arch="arm64"
when: manual
deploy:
stage: buildAndDeployElectron
# before_script:
# - cd receivers/electron
script:
- sh deploy.sh
when: manual