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 18:20:04 -05:00

42 lines
No EOL
1.1 KiB
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
buildWindowsAndLinux:
image: node:latest
stage: buildAndDeployElectron
tags:
- fcast
before_script:
- cd receivers/electron
- apt update && apt install -y zip dpkg fakeroot rpm wine mono-devel wget unzip
- wget https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip
- unzip wix314-binaries.zip -d wix314-binaries
# p7zip-full
- ln -s /usr/bin/wine /usr/bin/wine64
- export WINEPATH="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